Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1685 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8882 invoked from network); 18 May 2003 22:11:41 -0000 Received: from unknown (HELO mailout04.sul.t-online.com) (194.25.134.18) by pb1.pair.com with SMTP; 18 May 2003 22:11:41 -0000 Received: from fwd00.sul.t-online.de by mailout04.sul.t-online.com with smtp id 19HWNY-0004au-04; Mon, 19 May 2003 00:11:40 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.179.207]) by fwd00.sul.t-online.com with esmtp id 19HWNQ-1eTT0KC; Mon, 19 May 2003 00:11:32 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030519000952.037c6fd0@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 19 May 2003 00:11:30 +0200 To: Sterling Hughes Cc: internals@lists.php.net In-Reply-To: <1053289641.789.61.camel@hasele> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] get_property_ptr From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) References: <1053289641.789.61.camel@hasele> 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