X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fattribute-empty.php;h=3886e7d5316cfdcdc4421574f333b9a8fed62685;hb=2cb15f2dccf0c8966ac064389146b0e84a1cfa07;hp=5a33f6362aff68fd03abda1b288d9b04c60e9d2d;hpb=933565bfd7b14e26bf9dbc2afc7271e28ec34398;p=xml-template diff --git a/php5-swig/attribute-empty.php b/php5-swig/attribute-empty.php index 5a33f63..3886e7d 100644 --- a/php5-swig/attribute-empty.php +++ b/php5-swig/attribute-empty.php @@ -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);