#50260 [Opn->Bgs]: Variable Expectation NOT Defined
| From: | derick@php.net | Date: | Sun, 22 Nov 2009 00:38:47 +0000 |
| Subject: | #50260 [Opn->Bgs]: Variable Expectation NOT Defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144920@lists.php.net to get a copy of this message | ||
ID: 50260
Updated by: derick@php.net
Reported By: sapientdruid at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
PHP Version: 5.2.11
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2009-11-22 00:16:46] sapientdruid at hotmail dot com
Description:
------------
this is one of the lines in the fleets page (1329) which is throwing
errors.
$pages = array($page1, $page2, $page3, $page4, $page5, $page6,
$page7);
the variable $page1,....,$page7 are used by this line everytime the
page is opened and usually most of them are undefined (well page1 and
2 are almost always defined, but page 7 is almost never done.)
The error is a php issue complaining that several page variables are
undefined. It only occurs some of the time, and i've no clue what is
throwing it.
Reproduce code:
---------------
$pages = array($page1, $page2, $page3, $page4, $page5, $page6, $page7);
Expected result:
----------------
$page1 through $page7 to be properly defined.
Actual result:
--------------
the variable $page1,....,$page7 are used by this line every time the
page is opened and usually most of them are undefined (well page1 and
2 are almost always defined, but page 7 is almost never done.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50260&edit=1