Added tests for HHVM
Better php doc
Fixed variable name