patch #2520747 [core] E_DEPRECATED compatibility for PHP 5.3

This commit is contained in:
Marc Delisle
2009-01-20 18:04:20 +00:00
parent 9fb3719130
commit 5ed0400bdd
4 changed files with 14 additions and 2 deletions

View File

@@ -40,6 +40,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
*/