Re: iterating objects with interfaces
| From: | Stephen Thorne | Date: | Wed, 12 Mar 2003 00:48:00 +0000 |
| Subject: | Re: iterating objects with interfaces | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-95022@lists.php.net to get a copy of this message | ||
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