Hi!
The PHP 4.0 documentation (if that's the version you're using) says that you can prepend the @ sign to the function name to ignore all errors from this function, but if track_errors parameter in the INI is set to true, the last error will always be written to $php_errormsg var, thus you can check this variable and if it's not empty (or not equal to ""), then handle the error as you want. But unlike VB, the function with @ will always be executed before you process the error. Actually, PHP is modeled after C in which there's not so many ways to handle errors (there are throw(), catch() and try statements in C++, but it's another story).
You can also play with set_error_handler() and trigger_error() functions to define your own error handling function and to raise your own error in code. The error handling function could for example check the error number in a switch() statement and ignore the error or print it if needed.
What is the purpose of this in your code?
Best,
Stanislav