Advertisement

TrimwebsolutionsTrimwebsolutions

Education

2020 Advanced PHP interview Questions and Answer - Trimwebsolutions

By M.K. Verma · 25 May 2020

2020 Advanced PHP interview Questions and Answer - Trimwebsolutions

2020 Advanced PHP interview Questions and Answer

Q). What is $GLOBALS?

Ans. It is used defined the variable as in global scope in project.

Q). What is Difference Between require and  include?

Ans. Both function are used for linking the file but the major difference is 

       In Case of include()  if file will not fine it will return warning and rest code will execute but 

      in Case of require() if file will not found it will return fetel error and rest code will not execute.

Q) How many different types of error in php ?

Ans. Notice , Warning and Fetel Error.