mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add initial failure checking for json_encode
This commit is contained in:
parent
0e709fe42d
commit
12a8c3f6e7
3 changed files with 57 additions and 43 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue