ID: 33985 Updated by: [EMAIL PROTECTED] Reported By: mdpm2 at rohms dot com -Status: Feedback +Status: Bogus Bug Type: Variables related Operating System: FreeBSD 4.5 PHP Version: 4.4.0 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. One report is enough.. Previous Comments: ------------------------------------------------------------------------ [2005-08-03 21:41:03] [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. ------------------------------------------------------------------------ [2005-08-03 20:53:05] mdpm2 at rohms dot com Description: ------------ 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: extract($GLOBALS,EXTR_REFS); 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33985&edit=1