mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Bump PHP_JSON_VERSION to PHP_VERSION
Closes GH-4459
This commit is contained in:
parent
a3169964c0
commit
dee243d475
2 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
/* }}} */
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue