导航首页 » 技术教程 » PHP:json_last_error_msg()的用法_JSON函数
PHP:json_last_error_msg()的用法_JSON函数 161 2023-12-15   

json_last_error_msg

(PHP 5 >= 5.5.0)

json_last_error_msg — Returns the error string of the last json_encode() or json_decode() call

说明

string json_last_error_msg ( void )

参数

此函数没有参数。

返回值

Returns the error message on success, "No Error" if no error has occurred, 或者在失败时返回 FALSE.

参见

json_last_error() - 返回最后发生的错误


!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103