ID: 47231 Updated by: col...@php.net Reported By: dsa1982 at gmail dot com -Status: Assigned +Status: Closed Bug Type: SPL related Operating System: linux PHP Version: 5.2.8 Assigned To: colder New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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