Merge pull request #2 from samuelfrench/master

missing semi-colon
php didn't like a variable without the == true I think
tried allocating var in switch
bad fn call
Merge pull request #3 from samuelfrench/testing

Testing