If you really want to use echo it would have to be:
<?php
echo "Hello World";
?>
As much as I enjoy python, I would say that PHP is a better first language than python because it uses common syntax as C/C++/C#/Java etc so its easier to transition later. Sure its got its differences (like the $ token before variable names), but that's far easier to forget than the colon and tab-indenting differences of Python.
View all comments
Show parent comment
1
u/[deleted] Apr 11 '08
echo "Hello World";