What are the differences between PHP and Java?
<p>What are the main differences between PHP and Java that someone proficient in PHP but learning Java should know about?</p>

<p><strong>Edit:</strong> I mean differences in the syntax of the languages, i.e their data types, how they handle arrays &amp; reference variables, and so forth :)</p>
