why we use @symbol before the variable

Answers were Sorted based on User's Feedback



why we use @symbol before the variable..

Answer / vishal lakhani

@ in PHP one error control operator.the at sign (@). When
prepended to an expression in PHP, any error messages that
might be generated by that expression will be ignored.means
if errors comes and if u r Using@varialbe infront of any PHP
function it dont show any Error

Is This Answer Correct ?    50 Yes 2 No

why we use @symbol before the variable..

Answer / srividya

This @ Error control Operator suppress the error message

Is This Answer Correct ?    19 Yes 0 No

why we use @symbol before the variable..

Answer / ritu

All PHP expressions can be called with the "@" prefix, which
turns off error reporting for that particular expression.

Is This Answer Correct ?    5 Yes 2 No

why we use @symbol before the variable..

Answer / subhasmita

by the help of the symbol@ we can minimize the error

Is This Answer Correct ?    2 Yes 2 No

why we use @symbol before the variable..

Answer / fg

hg

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More PHP Interview Questions

Is php open source?

0 Answers  


what is benefit of magento?

0 Answers  


my english is not too good then what we apply for a php programer post

0 Answers  


Name some of the constants in php and their purpose.

0 Answers  


How can you upload a file using php?

0 Answers  


What is phpsessid?

0 Answers  


Is jquery better than javascript?

0 Answers  


How long does a session last in php?

0 Answers  


What is difference between html and php?

0 Answers  


Tell me how can we change the maximum size of the files to be uploaded?

0 Answers  


What does the unset() function means?

0 Answers  


How can you pass a variable by reference?

0 Answers  


Categories