php 5.0 compliance
Merge pull request #18 from ColonelMoutarde/patch-5

php 5.0 compliance