Blame | Letzte Änderung | Log anzeigen | RSS feed
--TEST--toString() : object.--FILE--<?phperror_reporting(E_ALL);require_once 'Var_Dump.php';$vd = new Var_Dump(array('display_mode' => 'Text'));class object {public $key1 = "The quick brown\nfox jumped over\nthe lazy dog";public $key2 = array(TRUE, 123, 123.45);public $key3 = NULL;}echo $vd->toString(new object());?>--EXPECTREGEX--object\(object\)(#[0-9]+ )?\(3\) {key1 => string\(44\) The quick brownfox jumped overthe lazy dogkey2 => array\(3\) {0 => bool true1 => int 1232 => float 123.45}key3 => NULL}