@ prevents the output of errors in the event of the command failing.
A quick question...
I've seen the @ character used to prefix some commands in php scripts, but I can't work out what effect this has.
For example, in sample scripts I've seen fopen and @fopen used.
Does anyone know the difference, or significance of this?
Thanks,
DarrenW
DarrenW
@ prevents the output of errors in the event of the command failing.
Thanks very much - I would never have guessed that!![]()
Regards,
DarrenW.
DarrenW
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks