Hello internals, IIRC it was intended to use object properties as arrays. Currently most array_*() functions do explicitly check for IS_ARRAY. The patch below now enables objects in nearly all array_*() functions. The contray of such an approach is that it would allow to access/modify protected and private properties. But for some functions we do it already so we need to find a solution for that sooner or later independantly from this patch.
Any thoughts? http://marcus-boerger.de/php/ext/standard/php-array-20030918.diff.txt -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php