Functions beginning with @

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Oct 01, 2012 10:17 pm

Functions beginning with @

Post by Parrot » Mon Oct 01, 2012 10:22 pm

I've run across some PHP code that is written in a way I've never seen before. Some of the functions are preceded by @, for example:


What does it mean to write it that way?

User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Functions beginning with @

Post by egami » Tue Oct 02, 2012 7:26 am

@ supresses any errors that may occur.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests