ID:               25996
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hongnk at hotmail dot com
 Status:           Verified
 Bug Type:         Zend Engine 2 problem
-Operating System: All
+Operating System: Irrelevant
-PHP Version:      5CVS
+PHP Version:      Irrelevant
 New Comment:

Related to bug #26030


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

[2003-10-26 21:33:23] hongnk at hotmail dot com

Description:
------------
Accessing array with uninitialized index will normally trigger error:

$a=array();
$b=$a['unknown']; => undefined index error

but if I assign by reference:

$b=&$a['unknown'];

then PHP no longer throw error. (The same goes for assigning undefined
property to an object.)

This makes it difficult to debug scripts.



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


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

Reply via email to