--TEST-- Verifies that generated lazy loading ghost objects disallow private property direct write --FILE-- createProxy('Kitchen', function () {}); $proxy->sweets = 'stolen'; ?> --EXPECTF-- %SFatal error: Cannot access %s property%S in %s on line %d