UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> why preface php functions with @    
 
   
Nyteshade
post Dec 18 2009, 09:46 AM
Post #1

UtterAccess Ruler
Posts: 1,289
From: Ohio, USA



This may be obvious but I cannot find an answer at php.net or by googling; so what does the @ sign mean when used like: @sizeof() ? The text I'm reading includes this in a statement yet never discloses the reason for the @! Thx all.
Go to the top of the page
 
+
ace
post Dec 18 2009, 10:45 PM
Post #2

UtterAccess VIP
Posts: 5,279
From: Upstate NY, USA



I believe the @ operator suppresses php's error messages.

Yup. Look here.
Go to the top of the page
 
+
Nyteshade
post Dec 19 2009, 06:33 AM
Post #3

UtterAccess Ruler
Posts: 1,289
From: Ohio, USA



Thx ace!
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 24th May 2013 - 01:46 AM