1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
This commit is contained in:
Stanislav Malyshev
2007-03-08 21:05:17 +00:00
parent 78f33b160a
commit 6bfcb2bdbd

View File

@@ -0,0 +1,11 @@
--TEST--
Crash on $x['x']['y'] += 1 when $x is string
--FILE--
<?php
$x = "a";
$x['x']['y'] += 1;
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot use string offset as an array in %s on line %d