IMHO this is comparing apples to oranges.
php is an open source, non-proprietary server side scripting language that's designed to generate HTML easily and efficiently.
C# is the latest MS hodgepodge of extensions to Java that require you to be 100% Micro$oft latest upgrade.