1. 首页
  2. WordPress 函数手册

json_last_error_msg()

json_encode( $string )

检索上一次json_encode()或json_decode()调用的错误字符串。
Retrieves the error string of the last json_encode() or json_decode() call.

目录锚点:#返回#源码


返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
wp-includes/compat.php:380 0 0

json_last_error_msg() 为WP2原创文章,链接:https://www.wp2.cn/functions/json_last_error_msg/