Compatibility for verion under PHP 5.4