--TEST-- Lazy objects: RFC example 010 --FILE-- newLazyGhost(function () {}); $reflector->getProperty('a')->setRawValueWithoutLazyInitialization($obj, 'value'); var_dump($obj); ?> ==DONE== --EXPECTF-- lazy ghost object(MyClass)#%d (1) { ["a"]=> string(5) "value" } ==DONE==