<5.2.0 PHP compatibility