PDA

View Full Version : @ operator in PHP



Sinister Shadow
January 16th, 2006, 10:55 PM
Can someone please explain to me what the @ operator means in PHP?

I've seen it in use in several locations but haven't managed to find an explanation

e.g.

@OCIExecute($parsed, OCI_DEFAULT); //Using Oracle through PHP

hl
January 16th, 2006, 11:13 PM
don't display the errors.

Sinister Shadow
January 16th, 2006, 11:18 PM
Oh, so it just surpresses all errors that might pop up when a method/function is called? Okie. Thanks .harish!

hl
January 17th, 2006, 12:07 AM
Oh, so it just surpresses all errors that might pop up when a method/function is called? Okie. Thanks .harish!
yes, i just said it in less and more understandable terms ;)