Re: Ver 3 vs. Ver 4

From: Date: Thu, 25 Jan 2001 23:51:41 +0000
Subject: Re: Ver 3 vs. Ver 4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36733@lists.php.net to get a copy of this message
At 01:36 26/1/2001, Karl J. Stubsjoen wrote:
Hello, 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. Zeev -- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.general (#36733) next »