mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
Export JsonSerializable Interface (bug #65753)
This commit is contained in:
parent
f275fdcf00
commit
786234d351
@ -38,7 +38,7 @@ static PHP_FUNCTION(json_last_error);
|
||||
|
||||
static const char digits[] = "0123456789abcdef";
|
||||
|
||||
zend_class_entry *php_json_serializable_ce;
|
||||
PHP_JSON_API zend_class_entry *php_json_serializable_ce;
|
||||
|
||||
ZEND_DECLARE_MODULE_GLOBALS(json)
|
||||
|
||||
|
@ -50,7 +50,7 @@ ZEND_END_MODULE_GLOBALS(json)
|
||||
|
||||
PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC);
|
||||
PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC);
|
||||
extern zend_class_entry *php_json_serializable_ce;
|
||||
extern PHP_JSON_API zend_class_entry *php_json_serializable_ce;
|
||||
|
||||
|
||||
/* json_encode() options */
|
||||
|
Loading…
Reference in New Issue
Block a user