yp_errno

(PHP 4 >= 4.0.6, PHP 5 < 5.1.0)

yp_errnoReturns the error code of the previous operation

说明

yp_errno ( void ) : int

Returns the error code of the previous operation.

返回值

Returns one of the YPERR_XXX error constants.

参见

  • yp_err_string() - Returns the error string associated with the given error code

关注编程学问公众号