public static function hasPcreUnicodeSupport()
    {
        if (self::$hasPcreUnicodeSupport === null) {
            self::$hasPcreUnicodeSupport =
                defined('PREG_BAD_UTF8_OFFSET_ERROR') &&
                @preg_match('/\pL/u', 'a') == 1;
        }
        return self::$hasPcreUnicodeSupport;
    }
public static function hasPcreUnicodeSupport()
    {
        if (self::$hasPcreUnicodeSupport === null) {
            self::$hasPcreUnicodeSupport =
                defined('PREG_BAD_UTF8_OFFSET_ERROR') &&
                @preg_match('/\pL/u', 'a') == 1;
        }
        return self::$hasPcreUnicodeSupport;
    }
public static function hasPcreUnicodeSupport ( ) { if ( self :: $ hasPcreUnicodeSupport === null ) { self :: $ hasPcreUnicodeSupport = defined ( 'PREG_BAD_UTF8_OFFSET_ERROR' ) && @ preg_match ( '/\pL/u' , 'a' ) == 1 ; } return self :: $ hasPcreUnicodeSupport ; }
Is PCRE compiled with Unicode support?

@return bool
Is PCRE compiled with Unicode support?