1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 17:43:13 +02:00
Files
archived-php-src/tests/lang/bug29893.phpt
2018-10-14 12:07:20 -03:00

12 lines
216 B
PHP

--TEST--
Bug #29893 (segfault when using array as index)
--FILE--
<?php
$base = 50;
$base[$base] -= 0;
?>
===DONE===
--EXPECTF--
Warning: Cannot use a scalar value as an array in %sbug29893.php on line %d
===DONE===