From: Rob Richards Date: Wed, 7 Apr 2004 16:48:11 +0000 (+0000) Subject: Fix class name X-Git-Tag: php-5.0.0RC2RC1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb39035e7788658a6244d272923dae488ab322d8;p=php Fix class name --- 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 foobar - secondArg foobar -