Bump PHP_JSON_VERSION to PHP_VERSION

Closes GH-4459
This commit is contained in:
Peter Kokot 2019-07-22 23:25:44 +02:00
parent a3169964c0
commit dee243d475
2 changed files with 3 additions and 2 deletions

View file

@ -186,7 +186,6 @@ static PHP_MINFO_FUNCTION(json)
{
php_info_print_table_start();
php_info_print_table_row(2, "json support", "enabled");
php_info_print_table_row(2, "json version", PHP_JSON_VERSION);
php_info_print_table_end();
}
/* }}} */

View file

@ -20,9 +20,11 @@
#ifndef PHP_JSON_H
#define PHP_JSON_H
#define PHP_JSON_VERSION "1.7.0"
#include "php_version.h"
#include "zend_smart_str_public.h"
#define PHP_JSON_VERSION PHP_VERSION
extern zend_module_entry json_module_entry;
#define phpext_json_ptr &json_module_entry