ID:               26939
 User updated by:  Nico dot Laus dot 2002 at gmx dot de
 Reported By:      Nico dot Laus dot 2002 at gmx dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows & Linux
 PHP Version:      5CVS-2004-01-16 (dev)
 New Comment:

well, as I told, there are no special details possible about this.
Seems, that the variable handler is somehow screwed up, or it's because
I do use __destruct() more often now, but I don't know, how this can
affect variables at runtime. At least, the thing with _GET() could be a
hint to the solution. Because this is no function of mine.

I can give one more example:
I got an object $user and sometimes when accessing functions in it, PHP
tells me that it cannot access this on a non-object, though I haven't
deleted or reset it.

well, I can't give you a short example and as I told, there are no
special conditions for this error to happen


Previous Comments:
------------------------------------------------------------------------

[2004-01-16 18:58:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2004-01-16 16:45:56] Nico dot Laus dot 2002 at gmx dot de

Description:
------------
since I installed PHP5RC1-dev (Apache 2, Win/Linux), I have encountered
a quite strange bug. It gives me an "variable not defined" but some
lines above it is been defined. I've also got one message telling me
that
"Fatal error: Unknown function: _GET() in index.php on line 12"
but neither I use such function, nor I declare one. only one line
above, I acces the $_GET[] variable. This happens in very different
situations with different variables and even "real" funtions. In PHP5
beta 2, this hasn't happened.

It's also very strange, that this bug appears randomly. So I cannot
even give a reproduce code because even simple examples like

$test[0] = 'test';
print $test[0];

or

if ($_GET['test']=='test')
print 'test';

can cause this problem



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26939&edit=1

Reply via email to