News for hackers. Stuff that matters.
Re:Five reasons why the PHP silence operator @ should be avo... by jtreminio on Thursday January 10, 2013 @12:49PM (#5038466)
> $x = @$f["x"] is right place to use it.

No, it's not. There's built-in methods for that: isset() and empty().

Re:Five reasons why the PHP silence operator @ should be avo... by narcissus on Thursday January 10, 2013 @01:09PM (#5038595)
Or array_key_exists(), depending on exactly what you're hoping for :(
Re:Five reasons why the PHP silence operator @ should be avo... by pavel_lishin on Thursday January 10, 2013 @04:52PM (#5040023)
empty() is not a good idea. What if $f["x"] is an empty string ""? Or 0, or 0.0, or "0", or any of the other values for which it returns true?
Re:Five reasons why the PHP silence operator @ should be avo... by jtreminio on Thursday January 10, 2013 @08:30PM (#5040858)
It completely depends on the use case. My point was, don't use @