From: Christian Stocker Date: Mon, 19 Jan 2004 17:27:22 +0000 (+0000) Subject: Cosmetics and NEWS entry X-Git-Tag: php_ibase_before_split~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4488ccf2d5d43e45347237665e60feb6686a618;p=php Cosmetics and NEWS entry --- diff --git a/NEWS b/NEWS index 62305d613e..7d3ef24edc 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2004, PHP 5 RC1 +- Added xsltprocessor->registerPHPFunctions() (Christian) - Bundled new SPL extension (Marcus, Derick) - Upgraded SQLite library to version 2.8.11. (Ilia, Wez) - Fixed var_export() to show public, protected and private modifiers properly. diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt index 4f4d842857..e0bd0cb568 100644 --- a/ext/xsl/tests/xslt011.phpt +++ b/ext/xsl/tests/xslt011.phpt @@ -17,7 +17,7 @@ $dom = new domDocument(); $xml = new DomDocument(); $xml->load(dirname(__FILE__)."/xslt011.xml"); - $proc->registerPhpFunctions(); + $proc->registerPHPFunctions(); print $proc->transformToXml($xml); function foobar($id, $secondArg = "" ) { diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index d73702b49d..d02682e98f 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -46,7 +46,7 @@ zend_function_entry php_xsl_xsltprocessor_class_functions[] = { PHP_FALIAS(getParameter, xsl_xsltprocessor_get_parameter, NULL) PHP_FALIAS(removeParameter, xsl_xsltprocessor_remove_parameter, NULL) PHP_FALIAS(hasExsltSupport, xsl_xsltprocessor_has_exslt_support, NULL) - PHP_FALIAS(registerPhpFunctions, xsl_xsltprocessor_register_php_functions, NULL) + PHP_FALIAS(registerPHPFunctions, xsl_xsltprocessor_register_php_functions, NULL) {NULL, NULL, NULL} };