Revert "Begin working updating the script for PHP 5.3"

This reverts commit 7ba82ac7df7db611090a49a8a74bb3d1554082e9.
Revert "make some easy updates for 5.3"

This reverts commit f88b6e9fce85c9f6bef8269e0b8e3aaefcffd55e.