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

What is an operator in php?

0 Answers  


what is the diference between php4 and php5

2 Answers   Tavant Technologies,


How do you run a php script from the command line?

1 Answers  


How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....

0 Answers  


Write a PHP code to print following number pattern: 123 456 789

5 Answers  






How to get elements in reverse order of an array in php?

0 Answers  


How to check whether a number is prime or not?

0 Answers  


What is laravel php?

0 Answers  


How to create a web form?

0 Answers  


What is polymorphism with example in php?

0 Answers  


Does jwt protect against csrf?

0 Answers  


Php being an open source is there any support available to it?

0 Answers  


Categories