diff options
Diffstat (limited to 'Zend/tests/offset_assign.phpt')
-rw-r--r-- | Zend/tests/offset_assign.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/offset_assign.phpt b/Zend/tests/offset_assign.phpt index caa717935f..04a4f41e6c 100644 --- a/Zend/tests/offset_assign.phpt +++ b/Zend/tests/offset_assign.phpt @@ -3,11 +3,11 @@ Crash on $x['x']['y'] += 1 when $x is string --FILE-- <?php $x = "a"; -$x['x']['y'] += 1; +$x['x']['y'] += 1; echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Warning: Illegal string offset 'x' in %soffset_assign.php on line %d Fatal error: Uncaught Error: Cannot use string offset as an array in %soffset_assign.php:%d |