[FEATURE] Branch compatible with PHP 5.2