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 5287940 commit e532e64Copy full SHA for e532e64
src/FFI.php
@@ -243,9 +243,8 @@ private static function init(): void
243
if (!ini_get('ffi.enable')) {
244
throw new Exception("ffi.enable not set to 'true'");
245
}
246
- if (version_compare(PHP_VERSION, '8.3', '>=') &&
247
- ini_get('zend.max_allowed_stack_size') !== '-1' &&
248
- ini_get('zend.max_allowed_stack_size') !== false) {
+ if (version_compare(PHP_VERSION, '8.3', '>=') &&
+ ini_get('zend.max_allowed_stack_size') != '-1') {
249
throw new Exception("zend.max_allowed_stack_size not set to '-1'");
250
251
0 commit comments