Date: 07/15/01
- Next message: David Eriksson: "Re: [PHP-DEV] Re: zend api object in object"
- Previous message: Derick Rethans: "[PHP-DEV] Announcement: SRM Technology preview"
- In reply to: Cynic: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Next in thread: André Langhorst: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Reply: André Langhorst: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Jul 15, 2001 at 01:13:04AM +0200, Cynic wrote:
> As for the Andre's suggestions, I like Python's ranges in both
> lists and strings (they use colon instead of two dots). I
> some details of it unintuitive, but don't remember what it was
> exactly as it's been some time since I touched Python though.
> I can look it up if anyone's interested.
Yes, I think that for strings we should limit it to ranges
like $foo{4..6}, and it would be neat if we for arrays could
do $foo[4..6]. ":" might be just as well as "..". It is more
intuitive with ".." I think, but I also kind of like having a
single character.
Stig
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Eriksson: "Re: [PHP-DEV] Re: zend api object in object"
- Previous message: Derick Rethans: "[PHP-DEV] Announcement: SRM Technology preview"
- In reply to: Cynic: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Next in thread: André Langhorst: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Reply: André Langhorst: "Re: [PHP-DEV] Re: Str enhancement, final run"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

