Re: get_property_ptr

From: Date: Sun, 18 May 2003 22:11:30 +0000
Subject: Re: get_property_ptr
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1685@lists.php.net to get a copy of this message
At 22:27 18.05.2003, Sterling Hughes wrote:
hey, I'm working on simplexml (sources available in pecl), and I want it to work in a foreach() loop without requiring the use of a temporary variable, ie: [...] So, any insights on how I might be a smarter boy, and actually get this thingy to work? :)
Just look into SPL cvs co spl and implement spl::foreach with you object the php5 version of sqlite does that and it is working fine :-) regards marcus

« previous php.internals (#1685) next »