compatiblei to php5.4 more
Merge pull request #29 from eru/php54compatible

compatiblei to php5.4 more