|
PHP is a powerful web scripting language, famous for its ease of use and ability to interact seamlessly with SQL type databases. PHP takes a lot of its syntax from Perl and C++, and it is in this way that programmers familiar with these languages can pick up PHP rather easily.
Advantages: Can be much easier to read than Perl, arguably easier to learn
Disadvantages: Might teach sloppy programming habits (not having to define variables etc) and can be less compact than Perl.
<?php
if("PHP" > "Perl") {
//returns true :p
}
?>
|