--TEST-- Autoloading the classes under library --SKIPIF-- --INI-- yaf.use_spl_autoload=0 yaf.lowcase_path=0 yaf.use_namespace=0 --FILE-- array( "directory" => APPLICATION_PATH, ), ); file_put_contents(APPLICATION_PATH . "/Bootstrap.php", <<registerLocalNamespace("Test"); Yaf_Registry::set("test", new Test()); } } PHP ); file_put_contents(APPLICATION_PATH . "/library/Test.php", <<bootstrap(); ?> --CLEAN-- --EXPECTF-- string(4) "okey"