Edit report at http://bugs.php.net/bug.php?id=51645&edit=1
ID: 51645 Updated by: rricha...@php.net Reported by: emm980 at windowslive dot com Summary: array_walk for DOMNodeList -Status: Open +Status: Bogus Type: Feature/Change Request Package: Class/Object related Operating System: Win 7 PHP Version: 5.3.2 New Comment: Just because its iterable does not mean its an array. There are other ways to access it than foreach. Previous Comments: ------------------------------------------------------------------------ [2010-04-23 12:17:17] emm980 at windowslive dot com Description: ------------ An updated array_walk for DOMNodeList objects. Since these objects can be used in a foreach loop just like ordinary arrays it would be nice and a way to improve performance if it were to be possible to use then with a walker function. On the windows platform at least, array_walk is significantly faster than foreach, especially in situation where the arrays have thousands of elements or more, which I suppose is its intended use. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51645&edit=1