PHP operator (?) question, The @ symbol |
PHP operator (?) question, The @ symbol |
*mipadi* |
![]()
Post
#1
|
Guest ![]() |
Question for people who are more knowledgeable about PHP than I:
I've been looking through some source code in an effort to update/modify a script, and I've run into a @ being prepended to some functions. What exactly is the purpose of this operator (if it is an operator)? Below are some examples of the code in question (note they are just pieces of code and don't actually go together): if (@phpversion() < '4.0.0') @reset($test) if (@ini_get('register_globals') I'm wondering if it has something to do with the value returned (much like how you use the & operator to pass by reference instead of value) but I'm not sure. Anyone know this one? |
|
|
![]() ![]() |