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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to