Skip to content

Commit 07a63d6

Browse files
flag is PHP_ZTS not ZTS
1 parent a6a2e09 commit 07a63d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/globals/ext-tests/openssl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
}
3232
assert($valid);
3333
}
34-
if (PHP_VERSION_ID >= 80500 && !defined('ZTS') && defined('OPENSSL_VERSION_NUMBER') && OPENSSL_VERSION_NUMBER >= 0x30200000) {
34+
if (PHP_VERSION_ID >= 80500 && defined('PHP_ZTS') && PHP_ZTS === 0 && defined('OPENSSL_VERSION_NUMBER') && OPENSSL_VERSION_NUMBER >= 0x30200000) {
3535
assert(function_exists('openssl_password_hash'));
3636
}

0 commit comments

Comments
 (0)