In PHP there are many ways to do the same thing. (Perhaps not such a good idea…). For fun, I would like to see how many ways we can come up with to output the basic Hello World phrase. I am guessing we could come up with at least a hundred. I will start with the two most obvious ones and contribute more when the list gets going.
1.[php]<?php
echo “Hello World”;
?>[/php]
2.[php]<?php
print “Hello World”;
?>[/php]