We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85ee47e commit 81eb8e7Copy full SHA for 81eb8e7
ext/pcre/php_pcre.c
@@ -388,7 +388,7 @@ static PHP_MINIT_FUNCTION(pcre)
388
char *version;
389
390
#ifdef HAVE_PCRE_JIT_SUPPORT
391
- if (!pcre2_init_ok) {
+ if (UNEXPECTED(!pcre2_init_ok)) {
392
/* Retry. */
393
php_pcre_init_pcre2(PCRE_G(jit));
394
if (!pcre2_init_ok) {
@@ -444,7 +444,7 @@ static PHP_MSHUTDOWN_FUNCTION(pcre)
444
/* {{{ PHP_RINIT_FUNCTION(pcre) */
445
static PHP_RINIT_FUNCTION(pcre)
446
{
447
448
449
php_pcre_mutex_lock();
450
0 commit comments