mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
11 lines
259 B
Plaintext
11 lines
259 B
Plaintext
|
--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
|