--TEST-- Check nesting view render --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", <<returnResponse(true); } } PHP ); file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<flushInstantly(true); } public function indexAction() { var_dump(\$this->_view->getScriptPath()); } } PHP ); file_put_contents(APPLICATION_PATH . "/views/index/index.phtml", "display('index/sub.phtml', array('content' => 'dummy'));?>"); file_put_contents(APPLICATION_PATH . "/views/index/sub.phtml", "eval('foobar'); ?>"); $app = new Yaf_Application($config); $response = $app->bootstrap()->run(); ?> --CLEAN-- --EXPECTF-- string(%d) "%sapplication%cviews" Yaf_View_Simple Object ( [tpl_dir:protected] => %s [tpl_vars:protected] => Array ( ) ) dummyfoobar