--TEST-- Check that SplArray::fromArray will not allow integer overflows --CREDITS-- Rob Knight PHPNW Test Fest 2009 --FILE-- 'foo'); $splArray = new SplFixedArray(); try { $splArray->fromArray($array); } catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECT-- integer overflow detected