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