Debug\Dump

Class Phalcon\Debug\Dump

Source on GitHub

Dumps information about a variable(s)

$foo = 123;

echo (new \Phalcon\Debug\Dump())->variable($foo, "foo");
$foo = "string";
$bar = ["key" => "value"];
$baz = new stdClass();

echo (new \Phalcon\Debug\Dump())->variables($foo, $bar, $baz);

Methods

public getDetailed ()

...

public setDetailed (mixed $detailed)

...

public __construct ([登录查看完整内容