JSON 함수 목록
PHP Manual

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

설명

string json_last_error_msg ( void )

인수

이 함수는 인수가 없습니다.

반환값

Returns the error message on success, "No Error" if no error has occurred, 실패 시 FALSE를 반환합니다.

참고


JSON 함수 목록
PHP Manual