Merge branch 'PHP-8.2'

This commit is contained in:
Jakub Zelenka 2023-05-13 18:54:16 +01:00
commit a225f6ab6b
No known key found for this signature in database
GPG key ID: 1C0779DC5C0A9DE4
8 changed files with 108 additions and 17 deletions

View file

@ -99,6 +99,8 @@ PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json)
ZEND_TSRMLS_CACHE_EXTERN()
#endif
PHP_JSON_API zend_string *php_json_encode_string(const char *s, size_t len, int options);
PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth);
PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options);
PHP_JSON_API zend_result php_json_decode_ex(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth);