Re: [PHP-DEV] iterating objects with interfaces
[email protected] (Stephen Thorne) Wed, 12 Mar 2003 10:48:00 +1000
| Newsgroups | php.dev |
|---|---|
| Organization | MU Systems Pty Ltd |
| Message-ID | <[email protected]> |
All this is starting to feel strangely pythonic.
How soon till
('<pre>'.($_GET['textArea']->strip_tags()).'</pre>')->print(); ?
Stephen.
On Wed, 12 Mar 2003 10:24, Marcus Börger wrote:
> At 19:05 10.03.2003, Marcus Börger wrote:
> >Standard PHP Library
>
> Updated version allows:
>
> class obj_array implements spl::array_read {
> bla ...
> }
>
> $obj = new obj_array();
>
> $value = $obj[$index];
>
> marcus