mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
12 lines
219 B
PHP
12 lines
219 B
PHP
--TEST--
|
|
Bug #41919 (crash in string to array conversion)
|
|
--FILE--
|
|
<?php
|
|
$foo="50";
|
|
$foo[3]->bar[1] = "bang";
|
|
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use string offset as an object in %sbug41919.php on line %d
|