- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What does the '@' prefix do in PHP?
The ‘@’ symbol suppresses errors from getting displayed on the screen.
PHP supports an error control operator, i.e the sign (@). When it is prepended to an expression in PHP, error messages that could get generated when it uses that expression will be ignored.
If the track_errors attribute is enabled, the error message generated by the expression will be saved in the variable named $php_errormsg. This variable will be overwritten each time on every error.
It is always suggested to write code that works relevantly with error states/conditions.
- What does '?' do in C/C++?
- What does 'weight' do in tkinter?
- What does 'in' operator do in Python?
- What does 'is' operator do in Python?
- What does colon ':' operator do in Python?
- What does 'by' keyword do in Kotlin?
- What does 'not in' operator do in Python?
- What does 'is not' operator do in Python?
- What does 'show processlist' command do in MySQL?
- What does the 'tearoff' attribute do in a Tkinter Menu?
- What is the difference between 'isset()' and '!empty()' in PHP?
- What do the terms 'Future' and 'Options' mean in share market?
- What does the 'b' character do in front of a string literal in Python?
- What does the 'b' modifier do when a file is opened using Python?
- What does the 'U' modifier do when a file is opened using Python?