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