mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
17 lines
147 B
Plaintext
17 lines
147 B
Plaintext
|
--TEST--
|
||
|
SPL: FastArray: Setting size to 0
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$a = new SplFastArray(1);
|
||
|
|
||
|
$a[0] = 1;
|
||
|
|
||
|
$a->setSize(0);
|
||
|
|
||
|
print "ok\n";
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
ok
|