go to bug id or search bugs for
This problem was introduced after PHP 4.3.6 (last known version where it wasn't reproducable) and is still present in 4.4.0
Functions are unable to reference passed variables if they are called within a parent function that executes:
Prior to 4.4.0, referenced vars and globals would contain random other variable values; as of 4.4.0 they're NULL or 0.
I'm trying to develop some code to isolate the problem but my error appears within a function that is recursive, but even the first iteration of the function does not receive the variable values passed as arguments. I have to assume this may be some issue with the way the compiler/optimizer handles the code during compilation.
Add a Patch
Add a Pull Request
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.
One report is enough..