Post-install script structure | |
PEAR Manual | |
require_once 'PEAR.php'; |
boolean PEAR::isError (
mixed $data
,
mixed $msgcode
)
isError() examines whether a variable is a PEAR_Error object and - optional - contains a specific error message or code.
variable to check
additional error message or error code to check
mixed - returns TRUE, if the variable was a PEAR_Error and, if given, contains $msgcode
Post-install script structure | |
PEAR Manual | |