View Single Post
Old 01-24-2004, 08:50 PM  
Rorschach
So Fucking Banned
 
Join Date: Aug 2002
Posts: 5,579
I'm no PHP guru but I don't think so, AFAIK it's more an issue of each individual function. For example, IIRC, include() will return an error if it fails and try to continue, whereas require() will end the execution of the script if it fails. There are options in php.ini that you can use to determine the level of error reporting, and you can use @ in front of function names to suppress errors, but there's nothing that's going to change the way a function fundamentally works short of rewriting it.

One way to get around fatal errors is to use if/else statements - eg in psuedo code

if(function())
{
do this;
}
else
{
print error;
}

Maybe someone else can shed more light on an answer.
Rorschach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote