1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/spl/tests/fastarray_014.phpt
2008-06-07 14:10:21 +00:00

16 lines
221 B
PHP

--TEST--
SPL: FastArray: Trying to access inexistent item
--FILE--
<?php
try {
$a = new SplFastArray(NULL);
echo $a[0]++;
} catch (Exception $e) {
echo $e->getMessage();
}
?>
--EXPECT--
Index invalid or out of range