xref: /PHP-5.3/Zend/tests/errmsg_044.phpt (revision a564b2a9)
1--TEST--
2Trying use object of type stdClass as array
3--FILE--
4<?php
5
6$a[0] = new stdclass;
7$a[0][0] = new stdclass;
8
9?>
10--EXPECTF--
11Fatal error: Cannot use object of type stdClass as array in %s on line %d
12