If/Else Statements - True

Value of ifTest: this is a string
ifTest evaluated to non-false

If/Else Statements - False

Value of ifTest2:
ifTest evaluated to false

Switch Statement

Value of switchTest: vemplator
Value of other: Smarty
switchTest variable was vemplator

Loops

Loop over items, showing index and value
#0 = Alan
#1 = Frank

Loop over items, showing only value
Alan
Frank

Accessing Arrays

Simple
rows[0]['name'] = Alan

Making use of a Function
ucwords(rows[1]['name'] = Frank

Accessing Objects

Member Variables
obj.names['first'] = Timothy
obj.names['last'] = Scott

Methods
obj.fullName() = Timothy Scott