1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/ext/spl/tests/fastarray_004.phpt
Antony Dovgal 344c076584 add new test
2008-06-07 12:49:35 +00:00

19 lines
243 B
PHP

--TEST--
SPL: FastArray: adding new elements
--FILE--
<?php
$a = new SplFastArray(10);
try {
$a[] = 1;
} catch (Exception $e) {
var_dump($e->getMessage());
}
?>
===DONE===
--EXPECTF--
string(29) "Index invalid or out of range"
===DONE===