]> git.sesse.net Git - xml-template/blobdiff - php5-swig/attribute3.php
Leak a little less memory in php5-swig.
[xml-template] / php5-swig / attribute3.php
index 8b84e7da6b520b5948640c1f78af4b7040579ec5..f3afc60f13cf6471da9d9bc97230aee4c3a10e91 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 dl("XML_Template_SWIG.so");
-$doc = process_file('../xml/clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
        '#things' => XML_Template_alternate('li/class', array(
                array( 'li' => 'Raindrops on roses' ),