Re: Re: Difference between $_POST[foo] and $_POST['foo']?
| From: | Philip Olson | Date: | Wed, 18 Jun 2003 20:44:50 +0000 |
| Subject: | Re: Re: Difference between $_POST[foo] and $_POST['foo']? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152066@lists.php.net to get a copy of this message | ||
> print "$_POST['foo']"; // generates a warning
The above is only true in PHP 4.3.0-1 as there was a
bug that caused the E_NOTICE there. In all other PHP
versions, the above will cause a parse error.
Regards,
Philip