summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-04-07 16:48:11 +0000
committerRob Richards <rrichards@php.net>2004-04-07 16:48:11 +0000
commitfb39035e7788658a6244d272923dae488ab322d8 (patch)
tree6868c667f6b2feae17ff4fb1b4afc4f756db56f8
parente8340dd2c5f0cfcbeeef2bc6254b51552ac82851 (diff)
downloadphp-git-fb39035e7788658a6244d272923dae488ab322d8.tar.gz
Fix class name
-rw-r--r--ext/xsl/php_xsl.c2
-rw-r--r--ext/xsl/tests/xslt011.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index e179c05de3..7d51e0ec14 100644
--- a/ext/xsl/php_xsl.c
+++ b/ext/xsl/php_xsl.c
@@ -135,7 +135,7 @@ PHP_MINIT_FUNCTION(xsl)
memcpy(&xsl_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
- REGISTER_XSL_CLASS(ce, "xsltprocessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltprocessor_class_entry);
+ REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltprocessor_class_entry);
#if HAVE_XSL_EXSLT
exsltRegisterAll();
#endif
diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt
index 39864ffb31..64504ef8e4 100644
--- a/ext/xsl/tests/xslt011.phpt
+++ b/ext/xsl/tests/xslt011.phpt
@@ -42,7 +42,7 @@ $dom = new domDocument();
--EXPECTF--
Test 11: php:function Support
-Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a XPath-string in %s on line 16
+Warning: XSLTProcessor::transformToXml(): A PHP Object can not be converted to a XPath-string in %s on line 16
<?xml version="1.0"?>
foobar - secondArg
foobar -