PEAR::registerShutdownFunc() (Previous) (Next) PEAR::raiseError()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR::isError()

PEAR::isError() -- Comprueba si se trata de un objeto PEAR_Error

Descripción

isError() examina cuando una variable es un objeto PEAR_Error y - opcionalmente - contiene un mensaje o código de error específicos.

Parámetro

mixed $data

variable a comprobar

mixed $msgcode

mensaje o código de error adicional a comprobar

Valor devuelto

mixed - devuelve TRUE, si la variable era un PEAR_Error y, si se da, contiene $msgcode

PEAR::registerShutdownFunc() (Previous) (Next) PEAR::raiseError()

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.