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 4516e22 commit 5eec12dCopy full SHA for 5eec12d
crypto.c
@@ -76,7 +76,11 @@ PHP_MINIT_FUNCTION(crypto)
76
zend_class_entry ce;
77
78
/* Register base exception */
79
+#if PHP_VERSION_ID < 70000
80
PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_exception_get_default(TSRMLS_C));
81
+#else
82
+ PHP_CRYPTO_EXCEPTION_REGISTER_CE(ce, Crypto, zend_ce_exception);
83
+#endif
84
85
/* Init OpenSSL algorithms */
86
OpenSSL_add_all_algorithms();
0 commit comments