Old 23rd December 2005, 16:34
kokez kokez is offline
Junior Member
Join Date: Dec 2005
Location: Italy
Posts: 14
Thanks: 6
Thanked 2 Times in 2 Posts
Send a message via Skype™ to kokez
Default What the "@" mean in php

After some research, am not be able to find a response to the question, in the php online documentation.
Can someone explain me what signify the "@" character prepended in some function names?
Or, could someone point me at some documentation?

Reply With Quote
Sponsored Links
Old 23rd December 2005, 16:40
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts

The @ surpresses warning and error messages.

For example, if you run the command is_file("myfile.txt") nad myfile.txt does not exist, you get a warning message. If you run @is_file("myfile.txt") you wont get this warning message.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[error] an unkown filter was not added: PHP Arien Installation/Configuration 12 7th October 2006 15:17
Sharedip Ivan Installation/Configuration 3 7th December 2005 16:36
Installation Problems right after php building nagual Installation/Configuration 3 31st October 2005 11:28
Installation Problems right after php building nagual Installation/Configuration 1 31st October 2005 09:30
double apache installation (with php) aolex Installation/Configuration 3 19th October 2005 18:04

All times are GMT +2. The time now is 21:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.