导航首页 »  技术教程 »  PHP:json_last_error_msg()的用法_JSON函数
PHP:json_last_error_msg()的用法_JSON函数 1013 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() - 返回最后发生的错误



文章评论 (0条)
发表评论
暂无评论,快来抢沙发吧~