Edit report at https://bugs.php.net/bug.php?id=63087&edit=1
ID: 63087 Updated by: php-bugs@lists.php.net Reported by: charlie at charliesomerville dot com Summary: Passing a reference to a function does not work when parentheses are used -Status: Feedback +Status: No Feedback Type: Bug Package: Scripting Engine problem Operating System: Linux PHP Version: master-Git-2012-09-14 (Git) New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2012-09-14 13:31:35] ni...@php.net @charlie: You can find a detailed description of why this happens here: http://stackoverflow.com/questions/6726589/parentheses-altering-semantics-of-function-call-result/6732876#6732876 This is once again an issue caused by the AST-less compilation process. (https://wiki.php.net/rfc/ast_based_parsing_compilation_process) ------------------------------------------------------------------------ [2012-09-14 09:56:49] larue...@php.net wrong status. ------------------------------------------------------------------------ [2012-09-14 09:55:23] larue...@php.net it will be appreciated, thanks ------------------------------------------------------------------------ [2012-09-14 09:52:14] charlie at charliesomerville dot com If you leave the ticket open, I might try my hand at fixing this. ------------------------------------------------------------------------ [2012-09-14 09:45:55] larue...@php.net yes, this is a knew issue, the similar thing will also happen while you use '@'; you will get a STRICT WARNING about this. right? I'd like mark this as wont'fix, it's a compiler issue, fix this is expensive ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=63087 -- Edit this bug report at https://bugs.php.net/bug.php?id=63087&edit=1