Tell me what are the main error types in PHP and how do they differ?
Submitted by: MuhammadIn PHP there are three main type of errors:
☛ Notices – Simple, non-critical errors that are occurred during the script execution. An example of a Notice would be accessing an undefined variable.
☛ Warnings – more important errors than Notices, however the scripts continue the execution. An example would be include() a file that does not exist.
☛ Fatal – this type of error causes a termination of the script execution when it occurs. An example of a Fatal error would be accessing a property of a non-existent object or require() a non-existent file.
Submitted by: Muhammad
☛ Notices – Simple, non-critical errors that are occurred during the script execution. An example of a Notice would be accessing an undefined variable.
☛ Warnings – more important errors than Notices, however the scripts continue the execution. An example would be include() a file that does not exist.
☛ Fatal – this type of error causes a termination of the script execution when it occurs. An example of a Fatal error would be accessing a property of a non-existent object or require() a non-existent file.
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. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |