PHP Interview Questions and Answers

PHP Interview Questions And Answers

PHP Interview Questions and Answers

Frequently asked Interview Question and Answer in PHP suites for both Freshers and Experienced Candidates.

Interview Questions and Answers Set 1

1. What is PHP?PHP is a web language based on scripts that allows developers to dynamically create generated...

Interview Questions and Answers Set 3

21. What is the main difference between require() and require_once()?require and require_once perform...

Interview Questions and Answers Set 5

41. How do I escape data before storing it into the database?addslashes function enables us to escape data before...

Interview Questions and Answers Set 2

11. Is multiple inheritance supported in PHP?PHP includes only single inheritance, it means that a class can...

Interview Questions and Answers Set 4

31. How is it possible to know the number of rows returned in result set?The function mysql_num_rows() returns...

Interview Questions and Answers Set 6

51. How a constant is defined in a PHP script?The define() directive lets us defining a constant as follows...

Interview Questions and Answers Set 7

61. Are Parent constructors called implicitly inside a class constructor?No, a parent constructor have to be called...

Interview Questions and Answers Set 9

81. What does the array operator ‘===’ means?$a === $b TRUE if $a and $b have the same key/value pairs in the same...

Interview Questions and Answers Set 8

71. What does $_SERVER means?$_SERVER is an array including information created by the web server paths...

Interview Questions and Answers Set 10

91. Is it possible to submit a form with a dedicated button?It is possible to use the document.form...