From: [EMAIL PROTECTED] Operating system: Linux 2.4 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: unset() hangs in infinite loop with Apache 1.3.24
My PHP 4.2.1 with Apache 1.3.24 has the following problem: unset() hangs in most cases in an infinite loop. It's independent from the type of the variable, or if the variable does exist at all. I experienced this problem only with the Apache-compiled-in version; the same PHP version as standalone CGI with the same compile options and php.ini doesn't have this problem. The apache process executing a script which came to an unset() call uses >90% of the CPU time until it gets stopped by the maximum execution time limit. register_globals is set to "On". -- Edit bug report at http://bugs.php.net/?id=17268&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17268&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17268&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17268&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17268&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17268&r=support Expected behavior: http://bugs.php.net/fix.php?id=17268&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17268&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17268&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17268&r=globals