This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:create:functions:debug [03.12.2014 08:24] – [debug()] alexander.ritter | en:create:functions:debug [25.08.2020 12:13] (current) – [debug()] sophia.schauer | ||
---|---|---|---|
Line 3: | Line 3: | ||
'' | '' | ||
- | The function '' | + | The function '' |
- | + | ||
- | **Note:** The content of the respective variable is only shown if the questionnaire is started in debug mode {{: | + | |
* //object// | * //object// | ||
Line 11: | Line 9: | ||
* A PHP variable ([[: | * A PHP variable ([[: | ||
+ | **Tip:** For more information on usage, see [[: | ||
+ | **Important: | ||
===== Examples ===== | ===== Examples ===== | ||
Line 21: | Line 21: | ||
} | } | ||
- | // Placeholder and function set() | + | // Placeholders |
$random = random(1, | $random = random(1, | ||
- | set($random, | ||
if ($random == 1) { | if ($random == 1) { | ||
replace(' | replace(' | ||
Line 29: | Line 28: | ||
replace(' | replace(' | ||
} | } | ||
- | debug(' | ||
debug(' | debug(' | ||