json_last_error_msg

(PHP 5 >= 5.5.0, PHP 7)

json_last_error_msgReturns the error string of the last json_encode() or json_decode() call

说锟斤拷

json_last_error_msg ( void ) : string

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Returns the error message on success, "No error" if no error has occurred, 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

锟轿硷拷

  • json_last_error() - 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷拇锟斤拷锟�