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 a316996 commit dee243dCopy full SHA for dee243d
ext/json/json.c
@@ -186,7 +186,6 @@ static PHP_MINFO_FUNCTION(json)
186
{
187
php_info_print_table_start();
188
php_info_print_table_row(2, "json support", "enabled");
189
- php_info_print_table_row(2, "json version", PHP_JSON_VERSION);
190
php_info_print_table_end();
191
}
192
/* }}} */
ext/json/php_json.h
@@ -20,9 +20,11 @@
20
#ifndef PHP_JSON_H
21
#define PHP_JSON_H
22
23
-#define PHP_JSON_VERSION "1.7.0"
+#include "php_version.h"
24
#include "zend_smart_str_public.h"
25
26
+#define PHP_JSON_VERSION PHP_VERSION
27
+
28
extern zend_module_entry json_module_entry;
29
#define phpext_json_ptr &json_module_entry
30
0 commit comments