Fix autoglobal disarm in PHP >= 5.4 plus regression test
Fix multi-generational inheritance with PHP4 style constructors.