mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
14 lines
254 B
PHP
14 lines
254 B
PHP
--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) {
|
|
}
|