RE: [PHP] Why $ on variable names?
| From: | Larry Rosenman | Date: | Tue, 12 Nov 2002 21:57:17 +0000 |
| Subject: | RE: [PHP] Why $ on variable names? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124071@lists.php.net to get a copy of this message | ||
--On Tuesday, November 12, 2002 16:53:07 -0500 "Jonathan Rosenberg (Tabby's Place)" <jr@tabbysplace.org> wrote:
In an earlier message, Larry Rosenman [mailto:ler@lerctr.org] said ...of PHP code out there. I can question, but expecting it to change is not realistic.How about:That's the way the language designers did it, and there's LOTS of PRODUCTION code out there that uses it.Because "that's the way it is"? Well, that's good enough for me. I'll never question anything else again & I trust you won't, either. You can't change the language at this date, and still call it PHP. There is a LOT
See also the precedence of PERL.Huh? What does the "precedence of PERL" mean? PERL has all it's variables (scalar at any rate) prefixed with Dollar Signs.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749LER-- JR