#32931 [NEW]: using reset() on an undefined variable keep reloading the script
| From: | pbnadeau at gmail dot com | Date: | Tue, 03 May 2005 19:07:10 +0000 |
| Subject: | #32931 [NEW]: using reset() on an undefined variable keep reloading the script | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78581@lists.php.net to get a copy of this message | ||
From: pbnadeau at gmail dot com
Operating system: freebsd
PHP version: 4.3.11
PHP Bug Type: Reproducible crash
Bug description: using reset() on an undefined variable keep reloading the script
Description:
------------
Run this script on 4.3.11 and FIEW will NEVER appear. TEST will appear a
lot of time though (until the memory will be exhausted). Disabled caching
& profiling...
Reproduce code:
---------------
<?php
error_log("TEST " . $_GET['id']);
@reset($hi);
error_log("FIEW");
?>
Completed
Expected result:
----------------
Completed
Actual result:
--------------
500 - Internal Server Error
+ filled log file
--
Edit bug report at http://bugs.php.net/?id=32931&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32931&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32931&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32931&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32931&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32931&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32931&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32931&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32931&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32931&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32931&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32931&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32931&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32931&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32931&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32931&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32931&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32931&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32931&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32931&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32931&r=mysqlcfg