summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug72116.phpt
blob: 7951f69130da9e5564c89c020ccfbfd87f18b3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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"
}