mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
10 lines
285 B
Plaintext
10 lines
285 B
Plaintext
|
--TEST--
|
||
|
Tries to create a SplFixedArray using a boolean value.
|
||
|
--CREDITS--
|
||
|
Philip Norton philipnorton42@gmail.com
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$array = SplFixedArray::fromArray(true);
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: SplFixedArray::fromArray() expects parameter 1 to be array, boolean given in %s on line %d
|