Nette\Debug dump test
Check mode
string(7) "console"
HTML mode
string(20) "<a href="#">test</a>"
array(5) {
0 => int(10)
1 => float(20.2)
2 => bool(TRUE)
3 => NULL
4 => string(5) "hello"
}
object(stdClass) (2) {
"item1" => array(5) {
0 => int(10)
1 => float(20.2)
2 => bool(TRUE)
3 => NULL
4 => string(5) "hello"
}
"item2" => string(5) "hello"
}
Text mode
string(20) "test"
array(5) {
0 => int(10)
1 => float(20.2)
2 => bool(TRUE)
3 => NULL
4 => string(5) "hello"
}
object(stdClass) (2) {
"item1" => array(5) {
0 => int(10)
1 => float(20.2)
2 => bool(TRUE)
3 => NULL
4 => string(5) "hello"
}
"item2" => string(5) "hello"
}
Production mode
string(6) "forced"
Development mode
string(14) "sensitive data"
string(6) "forced"