<?php class D { public $first = 'test'; public $second = 12; public $third = false; public $forth = '0xa'; public $fifth = null; } $o = new D(); var_dump((array) $o);
You have javascript disabled. You will not be able to edit any code.