兼容PHP 5.4