mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Implement enums
RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489.
This commit is contained in:
parent
a6fc427b8c
commit
269c8dac1d
164 changed files with 4301 additions and 54 deletions
|
@ -50,7 +50,8 @@ typedef enum {
|
|||
PHP_JSON_ERROR_INF_OR_NAN,
|
||||
PHP_JSON_ERROR_UNSUPPORTED_TYPE,
|
||||
PHP_JSON_ERROR_INVALID_PROPERTY_NAME,
|
||||
PHP_JSON_ERROR_UTF16
|
||||
PHP_JSON_ERROR_UTF16,
|
||||
PHP_JSON_ERROR_NON_BACKED_ENUM,
|
||||
} php_json_error_code;
|
||||
|
||||
/* json_decode() options */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue