Edit report at https://bugs.php.net/bug.php?id=43650&edit=1
ID: 43650 Comment by: morrison dot levi at gmail dot com Reported by: cwei...@php.net Summary: Objects implementing ArrayAccess don't work with array_* functions Status: Open Type: Feature/Change Request Package: SPL related PHP Version: 5.2.5 Block user comment: N Private report: N New Comment: Agree on this, even though you can make this work in other ways. You can have a method that takes a function as a parameter and will call it with a reference (if applicable) to your data. It still feels hackish when they can already access all my data. Previous Comments: ------------------------------------------------------------------------ [2007-12-21 09:20:02] cwei...@php.net (Feature request from http://bugs.php.net/bug.php?id=34849) ------------------------------------------------------------------------ [2007-12-21 09:18:07] cwei...@php.net Description: ------------ Objects of classes implementing ArrayAccess (e.g. ArrayObject) cannot be used with array_* functions like array_multisort. It would be cool if PHP would allow this. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=43650&edit=1