Hi, I just want to know that, I've noticed that there are people who put, for example: @fopen() or @fwrite(), etc... I can't find why they do that so I've come to ask.
Hi, I just want to know that, I've noticed that there are people who put, for example: @fopen() or @fwrite(), etc... I can't find why they do that so I've come to ask.
It is an error handling operator and prevents errors given in a function from being displayed in the
html
.This operator
@
is applied when the value of something is received, for example:It cannot be prepended to function or class definitions:
.
I leave the link of the documentation about it.