E-siksha provides you basic level PHP Interview Questions with Answers for beginners.
Q1. What is PHP?
PHP stands for Hypertext Pre-processor, the language you write next to the server program that makes dynamic pages. PHP is extremely useful for creating dynamic and blogging websites. PHP is an open-source server-side scripting language.
Q2. Difference between the include() and require() functions?
include() function includes external files into PHP script if the file doesn't exist then include() return a warning and script execution are going to be continued.
require() function is analogous to the include function but they return a fatal error if the file doesn't exist and stop script execution.
Q3. Difference between GET and POST methods?
Q4. What does PHP originally stand for?
Personal Home Page or Hypertext pre-processor.
Q5. What are the common features of PHP?
Some Important Features: -
Q6. Main differentiate between variables and constants in PHP?
|A variable is used to store different types of information and data. Its value has been changed during execution.||Constants are almost like PHP Variables but they have a fixed value that can’t change during the execution of the PHP script.|
Q7. What does isset() function?
Isset() function check the variable is about or not. If a variable isn't set means the variable has no value.
Q8. Difference b/w static and dynamic websites?
|The static website was quick and straightforward to develop. Requires web development expertise to update.||Dynamic Website Less hassle to update. Does dynamic content help in search engines.|
Q9. Popular frameworks in PHP?
|Zend||Founded in 1999|
Q10. What is PHP basic syntax?
PHP basic syntax starts with
<?php and ends with the