Re: cvs: php-src /ext/standard array.c /ext/standard/tests/array array_walk.phpt array_walk_objects.phpt array_walk_rec_objects.phpt
array_walk_recursive1.phpt

From: Date: Tue, 19 Sep 2006 16:10:40 +0000
Subject: Re: cvs: php-src /ext/standard array.c /ext/standard/tests/array array_walk.phpt array_walk_objects.phpt array_walk_rec_objects.phpt
array_walk_recursive1.phpt
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40604@lists.php.net to get a copy of this message
So assign it to a variable. -Andrei On Sep 19, 2006, at 8:52 AM, Michael Wallner wrote:
Andrei Zmievski wrote:
Why do we want to continue treating objects as arrays? Can't people simply pass get_object_vars($obj) result to array_walk?
That won't work because array_walk() takes a reference. -- Michael


« previous php.cvs (#40604) next »