xref: /PHP-8.0/ext/spl/tests/fixedarray_016.phpt (revision f60da355)
1--TEST--
2SPL: FixedArray: var_dump
3--FILE--
4<?php
5$a = new SplFixedArray(2);
6$a[0] = "foo";
7var_dump(empty($a[0]), empty($a[1]), $a);
8?>
9--EXPECTF--
10bool(false)
11bool(true)
12object(SplFixedArray)#%d (2) {
13  [0]=>
14  string(3) "foo"
15  [1]=>
16  NULL
17}
18