1--TEST--
2SPL: FixedArray: adding new elements
3--FILE--
4<?php
5
6$a = new SplFixedArray(10);
7
8try {
9 $a[] = 1;
10} catch (Exception $e) {
11 var_dump($e->getMessage());
12}
13
14?>
15===DONE===
16--EXPECTF--
17string(29) "Index invalid or out of range"
18===DONE===
19