Explain Parsing and Execution in PHP? Where PHP Engine
Return errors?

Answer Posted / leelu

Parsing : In any language parsing is the step where the
written code's syntax is checked for the programming language.

So , We will get a parse error when the syntax is wrong

Execution : Once the parsing is done, the code is executed
by zend engine , here if there are some missing classes or
function definitions that are used in the program which the
engine cannot determine, then execution errors are thrown.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does jwt protect against csrf?

681


Is null in php?

725


How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?

869


How to know user has read the email-php?

726


Does php support multiple inheritances?

761


Tell me what are the encryption techniques in php?

700


What is a php array?

695


What is the difference between public, protected and private?

700


What are the differences between php constants and variables?

729


can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????

1586


What is the purpose of basename() function in PHP?

795


What is the use of strpos in php?

799


What is meant by MIME?

827


Can we override magic methods in php?

759


What is the use of $_request variable?

794