Hey doug:

NOTE: echo "
" works as a line break

Variables: Creation and Manipulation

Creation:




Concatenation:



Stringlentgth Function

String length of the above two strings:

String-Position Function

In the first string, 'is a' occurs at position

Conditional Statements



Switch




Heredoc



Arrays

Basic Numerical Type:


Associative Type:
1, "Others"=>2, "Oliver"=>3); echo "Doug is at position number " . $ass_array[Doug] . " in the hierachy of this company." ; //i'll do multidimensional arrays later ?>

Simple looping statements

"; } ?>