Translations:Manual:Coding conventions/PHP/307/en

An example of this is opening a file with $fopen. You can anticipate the error by calling  and , but it is possible the file will have been deleted in between the check and the actual   call. In this case, your code should be ready to handle the case that the file will fail to open, and you can use  to prevent PHP from being noisy. Note that using $suppress and $restore are slow. They are much slower than using the $at operator, since it involves at least four function calls and reference counting, rather than just an opcode.