protected function getPregErrorText($code = null)
    {
        $code = $code ?: preg_last_error();

        if (!isset(self::$pregErrors[$code])) {
            $code = PREG_NO_ERROR;
        }

        return self::$pregErrors[$code];
    }
protected function getPregErrorText($code = null)
    {
        $code = $code ?: preg_last_error();

        if (!isset(self::$pregErrors[$code])) {
            $code = PREG_NO_ERROR;
        }

        return self::$pregErrors[$code];
    }
protected function getPregErrorText ( $ code = null ) { $ code = $ code ? : preg_last_error ( ) ; if ( ! isset ( self :: $ pregErrors [ $ code ] ) ) { $ code = PREG_NO_ERROR ; } return self :: $ pregErrors [ $ code ] ; }
Returns a describing text for the last PREG error that happened.

@param null $code

@return string
Returns a describing text for the last PREG error that happened .