/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
array
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/array/bug74361_2.phpt
--TEST-- Bug #74361: Compaction in array_rand() violates COW (variation) --FILE-- <?php $array = range(0, 15); for ($i = 0; $i <= 8; $i++) { unset($array[$i]); } foreach ($array as $x) { var_dump($x); array_rand($array, 1); } ?> --EXPECT-- int(9) int(10) int(11) int(12) int(13) int(14) int(15)
Copyright ©2k19 -
Hexid
|
Tex7ure