@ini_set--What's the "@" for?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I checked the official PHP documentation and it makes no mention of  
"@ini_set" function with the "@" symbol in front of it.

The code I'm looking at does have the "at" symbol in front of "ini_set".  
So what's the "@" for?


Re: @ini_set--What's the "@" for?

MBS wrote:

Quoted text here. Click to load it

It stops any errors or notices from being shown for that function call.

Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

Re: @ini_set--What's the "@" for?

@ is the bitch slap operator ;)
It means to supress any errors that may arise, from what you are about
In other worsds it means get to work and don't complain.

Re: @ini_set--What's the "@" for?

On Thu, 03 Nov 2005 02:14:14 +0000, MBS wrote:

Quoted text here. Click to load it

Supresses error messages

    JDS | jeffrey@example.invalid
        | http://www.newtnotes.com
  DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

Site Timeline