[PHP] Re: Absolute #$#$ silliness

2001-10-29 Thread Mike Frazer
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 language

[PHP] Re: Absolute #$#$ silliness

2001-10-26 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jtjohnston) wrote: > > RTM : > > > > "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 > > l

[PHP] Re: Absolute #$#$ silliness

2001-10-26 Thread jtjohnston
> RTM : > > "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

[PHP] Re: Absolute #$#$ silliness

2001-10-26 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jtjohnston) wrote: > I was getting > > "parse error, expecting `T_VARIABLE' or `'$'' in ..." > > until I exchanged the naming of these: > > $1a = 0; $1b = 0; $1c = 0; $1d = 0; $1e = 0; $1f = 0; > > (It won't accept $1a as a variable.) ...