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/spl/tests/SplFixedArray_fromArray_invalid_parameter_001.phpt
2009-05-23 15:38:18 +00:00

11 lines
259 B
PHP

--TEST--
pass an integer into fromArray()
--CREDITS--
PHPNW Testfest 2009 - Lorna Mitchell
--FILE--
<?php
echo SplFixedArray::fromArray(17954);
?>
--EXPECTF--
Warning: SplFixedArray::fromArray() expects parameter 1 to be array, integer given in %s on line %d