PHP and Java Cross Reference Guide
By Mike Prestwood
PHP versus Java: A side by side comparison between PHP and Java.
PHP
Version: This content is based on PHP 5 and tested using our web hosting server farm. The focus of this content is on server-side scripting.
This content focuses on topics in common among the languages documented here so nearly all this syntax applies to most PHP development environments as well as earlier versions of PHP.
Some of PHP's syntax will look similar to Perl but with significant differences.
Note: To be clear, the subject of this information is generic PHP 5 and in some cases Delphi for PHP. Although much of the information applies to other PHP tools, we only verified the syntax and information within generic PHP and/or Delphi for PHP.
Java
Version: This content is based on jre1.6.0_07 and tested in Eclipse 3.3.2 and/or JBuilder 2008 (which is based on Eclipse 3.3).
This content focuses on topics in common among the languages documented here so nearly all this syntax applies to other Java development environments as well as earlier versions of Java.
Much of Java's syntax will look similar to both C++ and C# but with significant differences.
Note: To be clear, the subject of this information is generic Java and all code snippets were tested in either Eclipse or in JBuilder by CodeGear (or both). Although much of the information applies to other Java tools, we only verified the syntax and information within Eclipse or JBuilder.
|