#22367 [Fbk->Opn]: undefined variable has a value
| From: | stanislav dot chachkov at epfl dot ch | Date: | Sun, 23 Feb 2003 17:56:05 +0000 |
| Subject: | #22367 [Fbk->Opn]: undefined variable has a value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34013@lists.php.net to get a copy of this message | ||
ID: 22367
User updated by: stanislav dot chachkov at epfl dot ch
Reported By: stanislav dot chachkov at epfl dot ch
-Status: Feedback
+Status: Open
Bug Type: Variables related
Operating System: Solaris8
PHP Version: 4.3.0
New Comment:
Exactly the same behaviour with php 4.3.2-dev
We will try to write a simple test case
Previous Comments:
------------------------------------------------------------------------
[2003-02-23 01:26:27] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
It might have been fixed. If not, then put that long
example somewhere to be downloaded and add the url here.
------------------------------------------------------------------------
[2003-02-21 17:31:45] stanislav dot chachkov at epfl dot ch
In a method we have that ($a is undefined,
but this also works if you substitute $a by any other name):
function getColumnValue($col_name){
var_dump($a); echo "a=$a <br>";
...
}
This method is called a number of times and the output is like this:
NULL a=
NULL a=
...
NULL a=Etape_Editor_IDEtape_Editor_ID''
Actually "EtapeEditor_ID" was the parameter of PREVIOUS call to one of
methods of this class.
I can not reproduce this problem with a short script, it seems that it
appears only when the number of classes, objects and calls is large,
otherwise it works fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22367&edit=1