Created
January 10, 2012 01:38
-
-
Save luk-/1586264 to your computer and use it in GitHub Desktop.
pear error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return PEAR::raiseError ('error message', -1); | |
//end | |
//or do | |
if (!result) { | |
return PEAR::raiseError ('error message', -1); | |
} | |
return result; | |
//end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment