Skip to content

Commit

Permalink
oop, for the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupitt committed Feb 14, 2024
1 parent 81d2281 commit 439b280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFI.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private static function init(): void
if (!ini_get('ffi.enable')) {
throw new Exception("ffi.enable not set to 'true'");
}
if (version_compare(PHP_VERSION, '8.3') &&
if (version_compare(PHP_VERSION, '8.3', '>=') &&
ini_get('zend.max_allowed_stack_size') != '-1') {
throw new Exception("zend.max_allowed_stack_size not set to '-1'");
}
Expand Down

0 comments on commit 439b280

Please sign in to comment.