Jnr PHP/Codeigniter Developer Question: Download Questions PDF
Tell me what are the main error types in PHP and how do they differ?
Answer:
In 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.
☛ 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.
Download Jnr PHP/Codeigniter Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me how you can prevent CodeIgniter from CSRF? | Tell me what are PSRs? Choose 1 and briefly describe it? |