mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge JSON_THROW_ON_ERROR
This commit is contained in:
parent
d5127cec6a
commit
e823770515
7 changed files with 236 additions and 34 deletions
|
@ -74,6 +74,7 @@ typedef enum {
|
|||
/* json_decode() and json_encode() common options */
|
||||
#define PHP_JSON_INVALID_UTF8_IGNORE (1<<20)
|
||||
#define PHP_JSON_INVALID_UTF8_SUBSTITUTE (1<<21)
|
||||
#define PHP_JSON_THROW_ON_ERROR (1<<22)
|
||||
|
||||
/* Internal flags */
|
||||
#define PHP_JSON_OUTPUT_ARRAY 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue