C# and PHP Cross Reference Guide
By Mike Prestwood
C# versus PHP: A side by side comparison between C# and PHP.
Version: This content is based on Microsoft C# 2008 and were tested in Microsoft Visual Studio.Net 2008.
This content focuses on topics in common among the languages documented here so some of this syntax will look similar to C++ and Java but there are significant differences.
Note: To be clear, the subject of this information is the version of C# used by Visual Studio.Net. It does not address in any significant way C#Builder by CodeGear. Although much of the information also applies to C#Builder, all of it applies to the latest version of Visual C#.
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.