]> git.sesse.net Git - xml-template/blobdiff - php7-swig/attribute3.php
Update the PHP SWIG version to PHP 7, with various crash fixes, too.
[xml-template] / php7-swig / attribute3.php
similarity index 88%
rename from php5-swig/attribute3.php
rename to php7-swig/attribute3.php
index 1262a906b897aa8f82b3b5830f25cb559ae546e6..b8ce7ea499fa8212b41d2c0038f9305e6070fad9 100644 (file)
@@ -11,5 +11,5 @@ $doc = XML_Template_process_file('../xml/clone.xml', array(
                array( 'li' => 'Warm, woolen mittens' ),
        ), array('odd', 'even'))
 ), true);
-print XML_Template_convert_doc_to_string($doc);
+print XML_Template_convert_doc_to_string($doc, 0);
 ?>