- var_dump: documentation ( source)
<?php
class PHPFI {
public $a = 'A PROPERTY';
protected $b = 'B PROPERTY';
private $c = 'C PROPERTY';
}
var_dump((array) new PHPFI);
// "a" => "A PROPERTY"
// "\0*\b" => "B PROPERTY"
// "\0PHPFI\0c" => "C PROPERTY"
?>