Start Your Quiz
#1. What does PHP stand for?
#2. Who is the father of PHP ?
#3. PHP files have a default file extension of
#4. Which version of PHP introduced Try/catch Exception ?
#5. Which of the following is used to declare a constant
#6. How do you write “Hello World” in PHP
#7. All variables in PHP start with which symbol?
#8. How do you get information from a form that is submitted using the “get” method?
#9. When using the POST method, variables are displayed in the URL:
#10. In PHP you can use both single quotes ( ‘ ‘ ) and double quotes ( ” ” ) for strings:
#11. Include files must have the file extension “.inc”
#12. What is the correct way to create a function in PHP?
#13. What is the correct way to open the file “student.txt” as readable?
#14. PHP allows you to send emails directly from a script
#15. Which superglobal variable holds information about headers, paths, and script locations?
#16. What is the correct way to add 1 to the $count variable?
#17. What is a correct way to add a comment in PHP?
#18. How do you create a cookie in PHP?
#19. How do you create an array in PHP?
Results
Congratulations.
Fail, You can Try Again