remove php warning by defining the result variable
Merge pull request #3 from tleilax/warning

remove php warning by defining the result variable