|
|
|
@ -68,7 +68,7 @@ extern zend_class_entry *php_json_serializable_ce; |
|
|
|
#define PHP_JSON_OBJECT_AS_ARRAY (1<<0) |
|
|
|
#define PHP_JSON_BIGINT_AS_STRING (1<<1) |
|
|
|
|
|
|
|
static inline php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) |
|
|
|
static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) |
|
|
|
{ |
|
|
|
php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC); |
|
|
|
} |
|
|
|
|