php-src/Zend/tests/errmsg_044.phpt
Dmitry Stogov a564b2a939 Fixed test
2008-03-12 15:20:23 +00:00

12 lines
206 B
PHP

--TEST--
Trying use object of type stdClass as array
--FILE--
<?php
$a[0] = new stdclass;
$a[0][0] = new stdclass;
?>
--EXPECTF--
Fatal error: Cannot use object of type stdClass as array in %s on line %d