--TEST-- Check for Yaf_View_Simple with short_tag_open --SKIPIF-- = 0) { print "skip PHP 5.4 remove short_open_tag"; } ?> --INI-- short_open_tag = 0 yaf.use_namespace=0 --FILE-- "; file_put_contents($tpl, $content); echo $view->render($tpl, array('name' => 'template')); echo "\n"; $view->display($tpl, array('name' => 'template')); $view = new Yaf_View_Simple(dirname(__FILE__), array("short_tag" => 0)); echo "\n"; var_dump(ini_get("short_open_tag")); $view->display($tpl, array('name' => 'template')); echo "\n"; print_r($view); unlink($tpl); ?> --EXPECTF-- template template string(1) "0" Yaf_View_Simple Object ( [_tpl_vars:protected] => Array ( ) [_tpl_dir:protected] => %s [_options:protected] => Array ( [short_tag] => 0 ) )