public function isFatal($type)
    {
        return in_array($type, array(E_EXCEPTION, E_PARSE,  E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR));
    }
public function isFatal($type)
    {
        return in_array($type, array(E_EXCEPTION, E_PARSE,  E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR));
    }
public function isFatal ( $ type ) { return in_array ( $ type , array ( E_EXCEPTION , E_PARSE , E_ERROR , E_CORE_ERROR , E_COMPILE_ERROR , E_USER_ERROR ) ) ; }
Query whether or not the passed error type is fatal or not.

@param integer $type The type to query for

@return boolean TRUE if the passed type is a fatal error, else FALSE
Query whether or not the passed error type is fatal or not .