mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
12 lines
206 B
PHP
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
|