PHP difference between @header() and header() function

Go To StackoverFlow.com

3

Possible Duplicate:
Reference - What does this symbol mean in PHP?

What's the difference between calling @header() and header() function in PHP ?

2012-04-05 18:49
by Jerome Ansia
@ suppresses errors. Don't use that - NullUserException 2012-04-05 18:50


4

@ suppresses errors:

http://php.net/manual/en/language.operators.errorcontrol.php

generally, you don't want to do that

2012-04-05 18:51
by Cal
Go it thanks... ; - Jerome Ansia 2012-04-05 18:51
Ads