Hello World Basics

echo

Use echo to output values. Double or single quotes can be used and if necessary escaped with a backslash

Hello World

print()

print() is used when only one argument is to be output.  Again double or single quotes can be used and if necessary escaped with a backslash

Hello to you

Comments

Comments can be single // # or multiline /* .... */

Variables output with echo and print()

Echo can be used to output more that one parameter each separated by a comma.

Example One:

Today I won £5

Example Two:

Today I won £5

Example Three:

Today I won £5

Example Four:

Today I won £5