Do you know how to enable error reporting in PHP?
Submitted by: MuhammadCheck if “display_errors” is equal “on” in the php.ini or declare “ini_set('display_errors', 1)” in your script.
Then, include “error_reporting(E_ALL)” in your code to display all types of error messages during the script execution.
Enabling error messages is very important especially during the debugging process as you can instantly get the exact line that is producing the error and you can see also if the script in general is behaving correctly.
Submitted by: Muhammad
Then, include “error_reporting(E_ALL)” in your code to display all types of error messages during the script execution.
Enabling error messages is very important especially during the debugging process as you can instantly get the exact line that is producing the error and you can see also if the script in general is behaving correctly.
Submitted by: Muhammad
Read Online PHP Community Marketing Expert Job Interview Questions And Answers
Top PHP Community Marketing Expert Questions
☺ | Tell me what does the following code output? |
☺ | Tell me how would you declare a function that receives one parameter name hello? |
☺ | Tell me what is the output of the following code: |
☺ | Explain do you use Composer? If yes, what benefits have you found in it? |
Top Social Networking And Marketing Categories
☺ | SMM Interview Questions. |
☺ | Social Media Interview Questions. |
☺ | Online Media Operator Interview Questions. |
☺ | PHP Community Marketing Expert Interview Questions. |
☺ | Social Media Executive Interview Questions. |