Do you know how can you 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 one can instantly get the exact line that is producing the error and 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 one can instantly get the exact line that is producing the error and can see also if the script in general is behaving correctly.
Submitted by: Muhammad
Read Online Jnr PHP/Codeigniter Developer Job Interview Questions And Answers
Top Jnr PHP/Codeigniter Developer Questions
☺ | Tell us what helpers in CodeIgniter are and how you can load a helper file? |
☺ | Do you know what is inhibitor in CodeIgniter? |
☺ | Tell me how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter? |
☺ | Do you know how can you enable error reporting in PHP? |
☺ | Explain me how would you declare a function that receives one parameter name hello? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |