Remove some workarounds for older PHP 5.3 versions.
Merge pull request #104 from realityking/php53

Remove some workarounds for older PHP 5.3 versions.