]> git.sesse.net Git - xml-template/blobdiff - php5-swig/namespace2.php
Add a proper wrapper for php5-swig, which also makes attribute[23] pass. All tests...
[xml-template] / php5-swig / namespace2.php
index 06c7bd628137b61507634729710df6c17d33d971..3111890dc710c2edbbbeaffe85f0bb8d85165ea5 100644 (file)
@@ -1,9 +1,9 @@
 <?php
+include("xml-template.php");
 
-dl("XML_Template_SWIG.so");
 $doc = XML_Template_process_file('../xml/namespace2.xml', array( 
        'title' => 'Namespace tests',
        '#hello' => 'Replaced.',
 ), true);
-output_to_fd_and_free($doc, 1);
+output_to_fd($doc, 1);
 ?>