> // Don't be fooled, we can't actually handle most of these.
> $error_names = array(
> E_ERROR => 'Error',
> E_WARNING => 'Warning',
> E_PARSE => 'Parse Error',
> E_NOTICE => 'Notice',
> E_CORE_ERROR => 'Core Error',
> E_CORE_WARNING => 'Core Warning',
> E_COMPILE_ERROR => 'Compile Error',
> E_COMPILE_WARNING => 'Compile Warning',
> E_USER_ERROR => 'User Error',
> E_USER_WARNING => 'User Warning',
> E_USER_NOTICE => 'User Notice',
> E_STRICT => 'Strict Notice',
> E_RECOVERABLE_ERROR => 'Recoverable Error',
> );
Shouldn't these error names be localizable?
cu, guido