diff options
author | Jakub Zelenka <bukka@php.net> | 2016-08-24 20:46:33 +0100 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2016-08-29 14:49:40 +0100 |
commit | 12a8c3f6e79ff159cce455ff9944a03aa70ff589 (patch) | |
tree | 5f5bb03fe55f4ef11d61d64ea6098b5245e788c8 /ext/json/php_json_encoder.h | |
parent | 0e709fe42d781209e955cf54d34e12361a784680 (diff) | |
download | php-git-12a8c3f6e79ff159cce455ff9944a03aa70ff589.tar.gz |
Add initial failure checking for json_encode
Diffstat (limited to 'ext/json/php_json_encoder.h')
-rw-r--r-- | ext/json/php_json_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/php_json_encoder.h b/ext/json/php_json_encoder.h index b10f7a614a..0fec9174b5 100644 --- a/ext/json/php_json_encoder.h +++ b/ext/json/php_json_encoder.h @@ -22,6 +22,6 @@ #include "php.h" #include "zend_smart_str.h" -void php_json_encode_zval(smart_str *buf, zval *val, int options); +int php_json_encode_zval(smart_str *buf, zval *val, int options); #endif /* PHP_JSON_ENCODER_H */ |