Re: Absolute #$#$ silliness

From: Date: Mon, 29 Oct 2001 17:17:03 +0000
Subject: Re: Absolute #$#$ silliness
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-72746@lists.php.net to get a copy of this message
Exactly. Java borrows from C/C++ a great deal, and they tend to look similar overall, but they are totally different languages. PHP and Perl are much easier to learn if you already knew the other one fairly well, but the differences are vast. After learning at least the basics of seven languages, I'm ready to suggest we make one universal one :) Mike Frazer "Cc Zona" <cczona@nospam.invalid> wrote in message news:20011027004010.29248.qmail@pb1.pair.com... > In article <3BD9FD6D.F2A6EE71@courrier.usherb.ca>, > jtjohnston@courrier.usherb.ca (Jtjohnston) wrote: > > > > RTM > > > <http://www.php.net/manual/en/language.variables.php>: > > > > > > "Variable names follow the same rules as other labels in PHP. A valid > > > variable name starts with a letter or underscore, followed by any number of > > > letters, numbers, or underscores." > > > > So $_1a is legal?! Confusing given $_ in Perl. > > <shrug> PHP isn't Perl, Perl isn't PHP. Approaching one language with the > expectation that it will follow the conventions of another will only give > you a headache. > > -- > CC

« previous php.general (#72746) next »