mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
14 lines
254 B
Plaintext
14 lines
254 B
Plaintext
|
--TEST--
|
||
|
SplFixedArray::setSize() with a null parameter
|
||
|
--CREDITS--
|
||
|
PHPNW Testfest 2009 - Adrian Hardy
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$fixed_array = new SplFixedArray(2);
|
||
|
$fixed_array->setSize(null);
|
||
|
var_dump($fixed_array);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
object(SplFixedArray)#1 (0) {
|
||
|
}
|