<?php class Customer { private $test1; private $test2; function __construct() { } } $object = new Customer(); $arr = (array)$object; print_r(array_map("addslashes", array_keys($arr)));
You have javascript disabled. You will not be able to edit any code.