Subversion Repositories oidplus

Rev

Rev 1384 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1384 Rev 1411
Line 18... Line 18...
18
            'Overloading of string functions using mbstring.func_overload ' .
18
            'Overloading of string functions using mbstring.func_overload ' .
19
            'is not supported by phpseclib.'
19
            'is not supported by phpseclib.'
20
        );
20
        );
21
    }
21
    }
22
}
22
}
23
 
-
 
24
// see https://github.com/php/php-src/issues/11917
-
 
25
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' && function_exists('opcache_get_status') && !defined('PHPSECLIB_ALLOW_JIT')) {
-
 
26
    $status = opcache_get_status();
-
 
27
    if ($status && $status['jit']['enabled'] && $status['jit']['on']) {
-
 
28
        throw new UnexpectedValueException(
-
 
29
            'JIT on Windows is not currently supported'
-
 
30
        );
-
 
31
    }
-
 
32
}
-