fix PHP 5.3+ warning
Merge pull request #93 from christianwach/1.0.x

fix PHP 5.3+ warning