summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug61058.phpt
blob: 1f0f6fe630d6432f3e1f6ebeaa3c6dc36f96fc32 (plain)
1
2
3
4
5
6
7
8
--TEST--
Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
--FILE--
<?php 
array_fill(PHP_INT_MAX, 2, '*');
?>
--EXPECTF--
Warning: array_fill(): Cannot add element to the array as the next element is already occupied in %sbug61058.php on line %d