]> git.sesse.net Git - xml-template/blobdiff - php5-swig/clone.php
Add a proper wrapper for php5-swig, which also makes attribute[23] pass. All tests...
[xml-template] / php5-swig / clone.php
index a0f98a7de1dce8f8832445fdf80b93e5f36af5d6..ab0ed7a31e4d73aebb06a497fdd9c2d2f57456cc 100644 (file)
@@ -1,6 +1,6 @@
 <?php
+include("xml-template.php");
 
-dl("XML_Template_SWIG.so");
 $doc = XML_Template_process_file('../xml/clone.xml', array( 
        'color' => 'blue',
        '#things' => array(
@@ -10,7 +10,7 @@ $doc = XML_Template_process_file('../xml/clone.xml', array(
                array( 'li' => 'Warm, woolen mittens' ) 
        )
 ), true);
-output_to_fd_and_free($doc, 1);
+output_to_fd($doc, 1);
 
 ?>