Re: Image submit underscores.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Image submit underscores. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2564@lists.php.net to get a copy of this message | ||
> Quick question: a coworker who is learning PHP just ran into the image
> submit dot=>underscore thing, and asked why this is done; I realized I
> don't know. So what's the official reason (which could go in the
> manual, too)?
Because a period is not a valid character in a variable name. A period is
in fact an operator.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net