Bug #14670: no warning on accessing an array element of an object

From: Date: Sun, 23 Dec 2001 13:31:47 +0000
Subject: Bug #14670: no warning on accessing an array element of an object
Groups: php.dev 
Request: Send a blank email to php-dev+get-74860@lists.php.net to get a copy of this message
From: sander@php.net Operating system: Debian Linux, Win2K PHP version: 4.1.0 PHP Bug Type: Class/Object related Bug description: no warning on accessing an array element of an object error_reporting(E_ALL); class foo{} $bar=new foo(); echo $bar['anything']; There's no warning! Is this expected behaviour or a bug? -- Edit bug report at: http://bugs.php.net/?id=14670&edit=1

« previous php.dev (#74860) next »