From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]