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