/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
spl
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/spl/tests/SplArray_fromArray.phpt
--TEST-- Check that SplArray::fromArray will not allow integer overflows --CREDITS-- Rob Knight <themanhimself@robknight.org.uk> PHPNW Test Fest 2009 --FILE-- <?php $array = array(PHP_INT_MAX => 'foo'); $splArray = new SplFixedArray(); try { $splArray->fromArray($array); } catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECT-- integer overflow detected
Copyright ©2k19 -
Hexid
|
Tex7ure