mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Always use 0x7FFEBFFF opcache optimization level (fixes #9340)
This commit is contained in:
parent
d934875532
commit
5df21fe448
@ -66,6 +66,10 @@ class PsalmRestarter extends XdebugHandler
|
|||||||
if (((int) ini_get('opcache.jit')) === 0) {
|
if (((int) ini_get('opcache.jit')) === 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ini_get('opcache.optimization_level') !== '0x7FFEBFFF') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $default || $this->required;
|
return $default || $this->required;
|
||||||
@ -98,6 +102,7 @@ class PsalmRestarter extends XdebugHandler
|
|||||||
'-dopcache.enable_cli=true',
|
'-dopcache.enable_cli=true',
|
||||||
'-dopcache.jit_buffer_size=512M',
|
'-dopcache.jit_buffer_size=512M',
|
||||||
'-dopcache.jit=1205',
|
'-dopcache.jit=1205',
|
||||||
|
'-dopcache.optimization_level=0x7FFEBFFF',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user