Functions beginning with @

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Tue Oct 02, 2012 7:26 am

@ supresses any errors that may occur.

Post Reply