Re: Negative string offset support
| From: | Derick Rethans | Date: | Fri, 29 Oct 2004 23:04:40 +0000 |
| Subject: | Re: Negative string offset support | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13610@lists.php.net to get a copy of this message | ||
On Fri, 29 Oct 2004, Sterling Hughes wrote:
> why not add it with the {} operators then?
Yeah, [] is for arrays, {} for string indexes though I still think this
should not be in, one can use substring for this. Something like a
"negative string index" is IMO too much magic.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org