Re: . (dot) get variables
| From: | Zak Greant | Date: | Wed, 21 Jun 2000 22:15:59 +0000 |
| Subject: | Re: . (dot) get variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2549@lists.php.net to get a copy of this message | ||
At 03:02 PM 6/21/00 -0700, Charles Killian wrote:
Why is it when you name a get variable .var it turns into _var during php execution? Is there any benifit to this?Valid variable names in PHP can only contain alphanumerics and underscores. The . is translated to a slash so that the variable can be put passed to php from cgi. HTH, Zak Greant Creative Director Nucleus Information Service Inc. "A camel is a horse designed by a committee." - Alex Issigonis (Designer of the Austin Mini)