Resolve pass-by-reference PHP5.4 issue
Merge pull request #4 from mtisi/master

Resolve pass-by-reference PHP5.4 issue