diff options
Diffstat (limited to 'ext/json/php_json_parser.h')
-rw-r--r-- | ext/json/php_json_parser.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/json/php_json_parser.h b/ext/json/php_json_parser.h index 8b6393d100..dc0453f4fa 100644 --- a/ext/json/php_json_parser.h +++ b/ext/json/php_json_parser.h @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 7 | - +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -63,7 +61,7 @@ struct _php_json_parser { PHP_JSON_API void php_json_parser_init_ex( php_json_parser *parser, zval *return_value, - char *str, + const char *str, size_t str_len, int options, int max_depth, @@ -72,7 +70,7 @@ PHP_JSON_API void php_json_parser_init_ex( PHP_JSON_API void php_json_parser_init( php_json_parser *parser, zval *return_value, - char *str, + const char *str, size_t str_len, int options, int max_depth); |