why we use @symbol before the variable

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain, when to use if-else if-else over switch statements?

533


How to Retrieve the Session ID of the Current Session?

525


What are php filters?

512


How can I increase my website session?

535


What is the purpose of using php?

500






What is framework? How it works? What is advantage?

491


Which MySQL function would you use to select a database?

562


What is mvc? Why its been used?

506


Is it possible to remove the html tags from data?

527


Is not null mysql?

539


Require_once(), require(), include(). What is difference between them?

529


What is member function?

556


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

510


What the limitation of header() function in php?

503


What is the method to execute a php script from the command line?

550