]> git.sesse.net Git - xml-template/blobdiff - php5-swig/attribute-empty.php
Leak a little less memory in php5-swig.
[xml-template] / php5-swig / attribute-empty.php
index 5a33f6362aff68fd03abda1b288d9b04c60e9d2d..3886e7d5316cfdcdc4421574f333b9a8fed62685 100644 (file)
@@ -5,7 +5,7 @@ dl("XML_Template_SWIG.so");
 # NULL values are ignored, but having one helps pointing out that
 # the array given is non-associative
 
-$doc = process_file('../xml/clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
        '#things' => array(NULL)
 ), true);