- var_dump: documentation ( source)
<?php
$test = 'test';
class Foo {
public $bar = null;
public static $blee = 'blee';
private $baz = null;
}
$foo = new Foo;
echo Foo::$blee,"\n";
unset($foo->bar);
var_dump($foo,$_GLOBALS);
//unset(Foo::$blee);