xref: /PHP-8.1/ext/standard/tests/array/bug72116.phpt (revision d679f022)
1--TEST--
2Bug #72116 (insertion after array_fill fails)
3--FILE--
4<?php
5
6$x = array_fill(0, 1, '..');
7$x[] = 'a';
8var_dump($x);
9
10?>
11--EXPECT--
12array(2) {
13  [0]=>
14  string(2) ".."
15  [1]=>
16  string(1) "a"
17}
18