Nette\Debug dump test

Check mode

string(7) "console"

HTML mode

string(20) "<a href="#">test</a>"
array(7) {
   0 => int(10)
   1 => float(20.2)
   2 => bool(TRUE)
   3 => NULL
   4 => string(5) "hello"
   5 => object(stdClass) (0) {}
   6 => array(0) 
}
object(Test) (3) {
   "x" => array(2) {
      0 => int(10)
      1 => NULL
   }
   "y" private => string(5) "hello"
   "z" protected => int(30)
}

Text mode

string(20) "test" array(7) { 0 => int(10) 1 => float(20.2) 2 => bool(TRUE) 3 => NULL 4 => string(5) "hello" 5 => object(stdClass) (0) {} 6 => array(0) } object(Test) (3) { "x" => array(2) { 0 => int(10) 1 => NULL } "y" private => string(5) "hello" "z" protected => int(30) }

With location

string(14) "sensitive data" in file D:\Web\nette\_trunk\tests\Debug\test.dump.php on line 58 string(6) "forced" in file D:\Web\nette\_trunk\tests\Debug\test.dump.php on line 60

Production mode

string(6) "forced"

Development mode

string(14) "sensitive data"
string(6) "forced"

With location

string(14) "sensitive data" in file D:\Web\nette\_trunk\tests\Debug\test.dump.php on line 88
string(6) "forced" in file D:\Web\nette\_trunk\tests\Debug\test.dump.php on line 90