WT Unit 5: PHP Previous Year Questions

  1. What is PHP?
  2. Give the syntax of PHP and Explain it.
  3. Explain the life cycle of PHP. Explain how does PHP scoreover ASP and JSP?
  4. What are the variable in PHP?
  5. What are strings in PHP?
  6. Explain string functions.
  7. Define operators in PHP.
  8. Explain if-else statement in PHP.
  9. Explain else-if statement in PHP.
  10. Explain nested if-else in PHP.
  11. What do you mean by loop? Explain the concept of while and do while loop.
  12. Explain the concept of for and for each loop.
  13. Explain switch statement in brief.
  14. Define array.