Raise requirements to PHP 5.3
Remove compatibility code for PHP 5.2
Revert "Temporary workaround for bug #3783 :"

This reverts commit 2683f32033ab71b2b482479518cab2f70264718b.