Fix for 5.3.10
Merge pull request #1 from asika32764/php5310

Fix for 5.3.10