1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/standard/tests/array/bug67693.phpt
2019-02-08 16:08:32 +00:00

26 lines
262 B
PHP

--TEST--
Bug #67693 - incorrect push to empty array
--FILE--
<?php
$array = array(-1 => 0);
array_pop($array);
array_push($array, 0);
array_push($array, 0);
var_dump($array);
echo"\nDone";
?>
--EXPECT--
array(2) {
[-1]=>
int(0)
[0]=>
int(0)
}
Done