|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-20 22:51 UTC] tony2001@php.net
[2006-04-21 05:01 UTC] chregu@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
Description: ------------ After registerPHPFunctions in XSLT, you can't use the scope resolution operator (::) to call a method within a class. I.e. (this used to work <5.1.2): "If you wish to use a function from inside a class use the double colon (::) notation, for example; php:functionString('classname::function') The funtion is fired off as a static and as such acts like a function in the global namespace." from [http://fr.php.net/ manual/en/function.xsl-xsltprocessor-register-php- functions.php] This no longer works and will throw the following error Unable to call handler classname::function I'm not sure what the real value of this functionality was anyway and have worked around this in my code, but it was avalible in previous versions.