> On Feb 16, 2019, at 12:28, Benjamin Eberlei <kont...@beberlei.de> wrote:
> 
> This exception is only for argument errors. Fopen would continue to warn + 
> false when file doesnt exist, which is what @ is nostly used for (using fopen 
> as example)

I’ve seen many cases where it’s understood that the function might receive the 
wrong type, and the developer decides this is okay, so they use the @-operator 
to ignore the warning and allow the script to continue processing.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to