php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32931 using reset() on an undefined variable keep reloading the script
Submitted: 2005-05-03 21:07 UTC Modified: 2005-05-03 22:49 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: pbnadeau at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.11 OS: freebsd
Private report: No CVE-ID: None
 [2005-05-03 21:07 UTC] pbnadeau at gmail dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-03 21:12 UTC] pbnadeau at gmail dot com
It appears that eaccelerator wasn't shut down on the server I ran the code (we get a random one every connection). I'll get them the bug report.
 [2005-05-03 22:49 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Not a PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC