This IS pretty cool stuff. 

 Just a comment about the namespace, as i see more of these things added
as time goes on. since you are already adding the 'spl' namespace why
are you prefixing the classes with the namespace still? This is the whole
point of using namespaces.

I feel it should be
spl::foreach
spl::forward
spl::key

btw. what does 'spl' stand for?

 - Brad
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> Very cool. :)
> 
> On Sun, 09 Mar 2003, Marcus Börger wrote:
> > Hi,
> > 
> >  i've just done the first step for a new extension which shall make use
> > of interfaces newly implemented in ZE2.
> > 
> > currently the extension implements the namespace "spl" and the
> > interfaces "spl_foreach", "spl_forward" and "spl_key". A class that
> > implements these can be used in a foreach() call. This work without
> > even modifying the engine, i simply hook on the necessary calls.
> > 
> > References:
> > 
> > The documentation of the interfaces and their usage:
> > http://marcus-boerger.de/php/ext/spl/spl.phps
> > 
> > The extension code:
> > http://marcus-boerger.de/php/ext/spl/spl-20030309.tar.bz2
> > 
> > And a testfile to demonstrate it works (beside shutdown):
> > http://marcus-boerger.de/php/ext/spl/tests/foreach.phpt
> > 
> > Of corse i am curious about other meanings :-)
> > Otherwise i wouldn`t have posted here, would i?
> > 
> > regards
> > marcus
> > 
> > 
> > 
> > -- 
> > ----------------------------------------------------------------------
> > Marcus Börger - Looking for all sorts of freelance work - just ask...
> > 
> > Did i help you? Consider a gift:
> > http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0
> > ----------------------------------------------------------------------
> > 
> > 
> > -- 
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> 
> -Andrei                                       http://www.gravitonic.com/
> * I don't mind going nowhere as long as it's an interesting path. *
> 
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to