ID: 47231
Updated by: [email protected]
Reported By: dsa1982 at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: SPL related
Operating System: linux
PHP Version: 5.2.8
-Assigned To:
+Assigned To: colder
Previous Comments:
------------------------------------------------------------------------
[2009-01-28 16:30:50] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47231&edit=1