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.
2 parents c5e6772 + 81bdf07 commit b01875fCopy full SHA for b01875f
config.m4
@@ -39,5 +39,6 @@ fi
39
40
if test "$PHP_JWT" != "no"; then
41
PHP_SUBST(JWT_SHARED_LIBADD)
42
+ PHP_ADD_EXTENSION_DEP(jwt, json)
43
PHP_NEW_EXTENSION(jwt, jwt.c openssl.c, $ext_shared)
44
fi
jwt.c
@@ -438,8 +438,14 @@ PHP_MINFO_FUNCTION(jwt)
438
php_info_print_table_end();
439
}
440
441
+static const zend_module_dep jwt_dep_deps[] = {
442
+ ZEND_MOD_REQUIRED("json")
443
+ ZEND_MOD_END
444
+};
445
+
446
zend_module_entry jwt_module_entry = {
- STANDARD_MODULE_HEADER,
447
+ STANDARD_MODULE_HEADER_EX, NULL,
448
+ jwt_dep_deps,
449
"jwt",
450
jwt_functions,
451
PHP_MINIT(jwt),
0 commit comments