update : 2015.11.03
php.shukuma.com검색:
|
IntlCalendar::getErrorMessageintlcal_get_error_message(PHP 5.5.0, PECL >= 3.0.0a1) IntlCalendar::getErrorMessage -- intlcal_get_error_message — Get last error message on the object 설명객체 기반 형식 (method):
public string IntlCalendar::getErrorMessage
( void
)
절차식 형식: Returns the error message (if any) associated with the error reported by IntlCalendar::getErrorCode() or intlcal_get_error_code(). If there is no associated error message, only the string representation of the name of the error constant will be returned. Otherwise, the message also includes a message set on the side of the PHP binding. 인수
반환값The error message associated with last error that occurred in a function call on this object, or a string indicating the non-existance of an error. 예제
Example #1 IntlCalendar::getErrorMessage()
<?php 위 예제의 출력: string(12) "U_ZERO_ERROR" string(82) "intlcal_get_weekend_transition: Error calling ICU method: U_ILLEGAL_ARGUMENT_ERROR" |