News for hackers. Stuff that matters.
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 @