patch #2520747 [core] E_DEPRECATED compatibility for PHP 5.3
This commit is contained in:
@@ -39,6 +39,13 @@ if (version_compare(PHP_VERSION, '5.2.0', 'lt')) {
|
||||
die('PHP 5.2+ is required');
|
||||
}
|
||||
|
||||
/**
|
||||
* Backward compatibility for PHP 5.2
|
||||
*/
|
||||
if (!defined('E_DEPRECATED')) {
|
||||
define('E_DEPRECATED', 8192);
|
||||
}
|
||||
|
||||
/**
|
||||
* the error handler
|
||||
*/
|
||||
|
Reference in New Issue
Block a user