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 8fe7c8c2e7
commit 46eb6a9de0
4 changed files with 14 additions and 2 deletions

View File

@@ -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
*/