<?php class Foo { private $bar; function __construct($a){ $this->bar = $a; } } $a = new Foo('lol'); var_dump((array)$a);
You have javascript disabled. You will not be able to edit any code.