Alter code that deals with PHP 5.3.1-5.3.9 support
Merge pull request #3075 from mbabker/5.3.10-stuff

[#33407] Alter code that deals with PHP 5.3.1-5.3.9 support