diff options
Diffstat (limited to 'ext/xsl/tests/xslt011.phpt')
-rw-r--r-- | ext/xsl/tests/xslt011.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt index 5ddb3dbbe6..2ca4e91fe9 100644 --- a/ext/xsl/tests/xslt011.phpt +++ b/ext/xsl/tests/xslt011.phpt @@ -14,12 +14,12 @@ $dom = new domDocument(); $dom->load(dirname(__FILE__)."/xslt011.xsl"); $proc = new xsltprocessor; $xsl = $proc->importStylesheet($dom); - + $xml = new DomDocument(); $xml->load(dirname(__FILE__)."/xslt011.xml"); $proc->registerPHPFunctions(); print $proc->transformToXml($xml); - + function foobar($id, $secondArg = "" ) { if (is_array($id)) { return $id[0]->value . " - " . $secondArg; @@ -39,13 +39,13 @@ $dom = new domDocument(); function nonDomNode() { return new foo(); } - + class aClass { static function aStaticFunction($id) { return $id; } } - + --EXPECTF-- Test 11: php:function Support |