From d4488ccf2d5d43e45347237665e60feb6686a618 Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 19 Jan 2004 17:27:22 +0000 Subject: [PATCH] Cosmetics and NEWS entry --- NEWS | 1 + ext/xsl/tests/xslt011.phpt | 2 +- ext/xsl/xsltprocessor.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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} }; -- 2.50.1