xref: /PHP-7.3/ext/standard/tests/array/bug61058.phpt (revision 782352c5)
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