mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Replace zend_bool uses with bool
We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
This commit is contained in:
parent
e2c8ab7c33
commit
3e01f5afb1
368 changed files with 2001 additions and 2001 deletions
|
@ -100,7 +100,7 @@ PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend
|
|||
PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options);
|
||||
PHP_JSON_API int php_json_decode_ex(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth);
|
||||
|
||||
static inline int php_json_decode(zval *return_value, const char *str, int str_len, zend_bool assoc, zend_long depth)
|
||||
static inline int php_json_decode(zval *return_value, const char *str, int str_len, bool assoc, zend_long depth)
|
||||
{
|
||||
return php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue