<?php class Person { private $name = 'John'; } $objects = new SplObjectStorage; $person = new Person; $objects->attach($person); var_dump($objects);
You have javascript disabled. You will not be able to edit any code.