473,473 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

MBS
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?

Thanks.
Nov 3 '05 #1
3 1404
MBS wrote:
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?


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

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
Nov 3 '05 #2
@ is the bitch slap operator ;)
It means to supress any errors that may arise, from what you are about
try.
In other worsds it means get to work and don't complain.

Nov 3 '05 #3
JDS
On Thu, 03 Nov 2005 02:14:14 +0000, MBS wrote:
So what's the "@" for?


Supresses error messages

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

Nov 3 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.