English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Ex: @File

2006-10-29 08:42:34 · 3 answers · asked by ButterFeet 1 in Computers & Internet Programming & Design

3 answers

Putting @ in front of a statement will result in the parser ignoring any errors that the statement may generate.

For more info, click on my source link.

2006-10-29 08:48:38 · answer #1 · answered by zorrovelez84 2 · 0 0

It instructs PHP to ignore errors that may arise in the functoin being called. For example, @file() means "call the file() function, but ignore any errors that it might generate".

2006-10-30 05:54:19 · answer #2 · answered by NC 7 · 0 0

It means that if you put it in front of a function, it will prevent standard verrors from reporting when that function runs (because you don't care about reporting them at that point)

So, suppresses error reporting is the answer - but just for that function, not across the board.

2006-10-29 08:57:26 · answer #3 · answered by Jon C 1 · 0 0

fedest.com, questions and answers