From: Fabien Potencier Date: Wed, 16 May 2012 15:00:05 +0000 (+0200) Subject: fixed tests for PHP 5.2 X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=7f06c12c53aa81a1058175fbc5c03e729c1a9b20;p=web%2Fkonrad%2Ftwig.git fixed tests for PHP 5.2 --- diff --git a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test index 6cb036b..110aef8 100644 --- a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test +++ b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test @@ -1,5 +1,7 @@ --TEST-- Twig is able to deal with SimpleXMLElement instances as variables +--CONDITION-- +version_compare(phpversion(), '5.3.0', '>=') --TEMPLATE-- Hello '{{ images.image.0.group }}'! {{ images.children().count() }}