Re:Five reasons why the PHP silence operator @ should be avo...
by mikey_p on Thursday January 10, 2013 @03:30PM
(#5039544)
Another one that I ran into at the same time as parse_url is that passing NULL to urldecode would throw a notice, which was simpler to @ away then check first since it always returned an empty string anyway.
[ Parent
| on HN ]
Re:Five reasons why the PHP silence operator @ should be avo...
by josephscott on Thursday January 10, 2013 @04:47PM
(#5039994)
According to the changelog for parse_url that is no longer the case for 5.3.3 and up.