Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you already know C, Perl and Java then in all honesty you already know PHP, you just don't know it yet. Make sense? Perhaps not. But it will once you start playing with it.</p> <p>You don't say why you're learning a Web development language or what it's for. That's key information in providing any sort of recommendation like this. In the absence of such information I would suggest PHP for several reasons:</p> <ul> <li>It's Web-centric;</li> <li>It's extremely popular. Finding answers to problems is very easy;</li> <li>It's very easy to learn (you already know C, Perl, and Java, but its easy even if you didn't)</li> <li>As <a href="http://en.wikipedia.org/wiki/Cal_Henderson" rel="nofollow noreferrer">Cal Henderson</a> put it in his keynote <a href="http://www.youtube.com/watch?v=i6Fr65PFqfk" rel="nofollow noreferrer">"Why I Hate Django"</a> (at DjangoCon 2008 no less) "PHP is a serious language". It powers 4 of the top 20 sites on the internet (Wikipedia, Flickr, Facebook and one other I forget;</li> <li>It's not too dissimilar to Perl although Perl does have a somewhat differen typing system and regular expressions are more first-class in Perl. Plus PHP doesn't have the $_ operator but in spite of all that there are many similarities;</li> <li>As a dynamic scripted language, it'll help you get out of the strongly-typed mould, which should make for a bit of a change and useful experience;</li> <li>In spite of PHP supporting objects (I subscribe to the view that <a href="http://michaelkimsal.com/blog/php-is-not-object-oriented/" rel="nofollow noreferrer">PHP is not object-oriented</a>), most PHP is written in a procedural fashion, making it more familiar to the C programmer;</li> <li>It has an incredibly rich set of libraries;</li> <li>Requiring only Apache, it's extremely lightweight and, as a result, hosting is extraordinarily cheap compared to Java or ASP.NET hosting; and</li> <li>There is something satisfying about just saving your text file and clicking reload on your browser to see what happens rather than having separate compile, build and deployment steps.</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload