Re: Absolute #$#$ silliness

From: Date: Sat, 27 Oct 2001 00:42:58 +0000
Subject: Re: Absolute #$#$ silliness
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-72537@lists.php.net to get a copy of this message
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 (#72537) next »