Re: [PHP4BETA] isset behaviour with arrays
| From: | Zeev Suraski | Date: | Tue, 22 Jun 1999 22:37:51 +0000 |
| Subject: | Re: [PHP4BETA] isset behaviour with arrays | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1672@lists.php.net to get a copy of this message | ||
Uhm, well, you actually bumped into something we haven't yet implemented in isset() (pretty much forgot about it) - we don't handle string offsets in there. I'll try to fix it on Thursday or Friday.
Zeev
At 22:15 22/06/99 , Thies C. Arntzen wrote:
script: <?php $arr = array("hallo"); echo isset($arr[0][0])."\n"; ?> php3: Content-type: text/html 1 (that means true, doesn't it;-) php4: Content-Type: text/html false (that's wrong, isn't it? - or have i just bumped into another incompatilety (cannot spell this word)) tc-- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.ilThies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany-- PHP 4 Beta