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

Where is the submitted form data stored?

0 Answers  


Explain Booleans in PHP?

0 Answers  


How to link one site backend to another site frontend?

0 Answers   Global Logic,


How to replace a text in a string with another text in php?

0 Answers  


Does php need html?

0 Answers  






Can we override static method?

0 Answers  


When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

0 Answers  


What is the purpose of destructor ?

2 Answers  


can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????

0 Answers  


write a program to generate bill screen 1.1st page should get the number of products to be billed. 2.2nd page should display the number of rows according to the number of products given in the first page. 3.Each row should have a text box for a.product name b.quantity c.unit price d.item price = quantity x unit price This should be automatically calculated not to be entered by the user. 4.After entering the products calculate sales-tax for the total amount which 8.25%. 5.After entering these values you have to generate the bill in the next page with a unique number for the bill. can anyone solve this problem..i am in need to solve this problem..pls help me

1 Answers   Yahoo,


What is data structure in php?

0 Answers  


how can i upload only pdf files in my website? files has not a pdf extension mantioned

0 Answers  


Categories