ArrayIterator offsetGet return incorrect error message
[2009-01-28 16:30 UTC] dsa1982 at gmail dot com
Description:
------------
method offsetGet return incorrect error message when offset float type
Reproduce code:
---------------
$array_object = new ArrayIterator(
array(
'first','second'
)
);
$array_object->offsetGet((float)3);
Expected result:
----------------
Fatal error: Uncaught [Undefined offset: 4613937818241073152] in: Array thrown in