Hi,
In php5.0.0 I can use next select syntax:
<xsl:variable name="menus" select="php:function('Menu::createXML')/menus"/>
but in php5.1.0-dev I see this warning
Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: Invalid type in /mnt/data/www/html/web/Includes/Theme.php on line 117
Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: runtime error: file /mnt/data/www/html/linux.grodno.by/web/Themes/FreeWay/Templates/Modules/module.xsl line 22 element variable in /mnt/data/www/html/web/Includes/Theme.php on line 117
Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: Evaluating global variable being computed ... failed in /mnt/data/www/html/web/Includes/Theme.php on line 117
Menu::createXML() static method, returns XML document... in php5.0 all work fine, but in 5.1.0-dev dasn't. How i can do this in php5.1... or it's a bug?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php