Why the Change in Ver 4?

From: Date: Fri, 26 Jan 2001 17:07:35 +0000
Subject: Why the Change in Ver 4?
Groups: php.general 
Request: Send a blank email to php-general+get-36804@lists.php.net to get a copy of this message
> > >Does Version 4 support either { } "squiglees" or [ ] "brackets" in > > >this > > >code: > > > > > >if($retrn{strlen($retrn)-1} == '&') > > >-or- > > >if($retrn[strlen($retrn)-1] == '&') > > > > Yes. This is a 4.x feature only. The idea is that in the long run, [] > > will no longer be supported for string offsets, only {} will. What is the motivation behind this change?

« previous php.general (#36804) next »