diff --git a/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php b/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php index b711de58..ea7b800c 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Php/CompilePhpTest.php @@ -142,7 +142,7 @@ echo \'bar \'; $foo = 3; { /php}<--', 'PHP_ALLOW, \'phptag_literal.tpl\''), ); - if (version_compare(phpversion(), '7.0.0', '<')) { + if (version_compare(phpversion(), '5.7.0', '<')) { $data[] = array(Smarty::PHP_ALLOW, 'script.tpl', '--> hello world <--', 'PHP_ALLOW, \'script.tpl\''); } return $data;