ID: 37151 Updated by: [EMAIL PROTECTED] Reported By: glan at gotsubstance dot co dot uk -Status: Feedback +Status: Bogus Bug Type: XSLT related Operating System: All PHP Version: 5.1.2 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. I assume, this is a duplicate of #37091 Previous Comments: ------------------------------------------------------------------------ [2006-04-20 22:51:57] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-04-20 22:20:22] glan at gotsubstance dot co dot uk 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37151&edit=1