#14670 [Opn->Bgs]: no warning on accessing an array element of an object

From: Date: Wed, 14 Aug 2002 18:28:34 +0000
Subject: #14670 [Opn->Bgs]: no warning on accessing an array element of an object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16813@lists.php.net to get a copy of this message
ID: 14670 Updated by: iliaa@php.net Reported By: sander@php.net -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Debian Linux, Win2K PHP Version: 4.1.0 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: ------------------------------------------------------------------------ [2001-12-23 08:31:47] sander@php.net error_reporting(E_ALL); class foo{} $bar=new foo(); echo $bar['anything']; There's no warning! Is this expected behaviour or a bug? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14670&edit=1

« previous php.bugs (#16813) next »