PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

yp_errno

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

yp_errnoReturns the error code of the previous operation

Description

int yp_errno ( void )

Returns the error code of the previous operation.

Return Values

Returns one of the YPERR_XXX error constants.

See Also

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

PHP Manual