--TEST-- ZE2 factory and singleton, test 3 --FILE-- --EXPECTF-- Fatal error: Uncaught Error: Call to protected test::__construct() from global scope in %s:%d Stack trace: #0 {main} thrown in %s on line %d