Re: PHP 4.0 Bug #5368: Frequently undefined variable errors
| From: | Rasmus Lerdorf | Date: | Mon, 03 Jul 2000 23:09:09 +0000 |
| Subject: | Re: PHP 4.0 Bug #5368: Frequently undefined variable errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23388@lists.php.net to get a copy of this message | ||
> A PHP 4 designer should write $stringtext = $stringarray["ELEMENT1"]. Note
> that this is listed in the incompatibility list.
Or better yet: $stringtext = $stringarray['ELEMENT1'] as it is a tiny bit
more efficient.
-Rasmus