<?php class A { private $a; } $a = new A(); $b = (array)$a; var_dump($b);
You have javascript disabled. You will not be able to edit any code.