mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
19 lines
204 B
PHP
19 lines
204 B
PHP
--TEST--
|
|
Bug #72116 (insertion after array_fill fails)
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = array_fill(0, 1, '..');
|
|
$x[] = 'a';
|
|
var_dump($x);
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
[0]=>
|
|
string(2) ".."
|
|
[1]=>
|
|
string(1) "a"
|
|
}
|
|
|