]> git.sesse.net Git - xml-template/blobdiff - php5-swig/simple.php
Do weird dances to get php5-swig garbage collection going. Something tells me this...
[xml-template] / php5-swig / simple.php
index 2f29d51d52863ead46eb99c73461dc7f973c32dd..a5b7f04ff1a7ea5092166cb77da785dbcae1e294 100644 (file)
@@ -5,7 +5,7 @@ $doc = XML_Template_process_file('../xml/simple.xml', array(
        'title' => 'A very basic example',
        '#hello' => 'Hello world!'
 ), true);
-output_to_fd_and_free($doc, 1);
+output_to_fd($doc, 1);
 
 ?>