fix syntax error for php < 5.4
Merge pull request #7 from maintux/master

Fix syntax error for PHP < 5.4