PHP MCQ Quiz & Online Test

  1. PHP is a ............
  2. The date_sunset() function returns the sunset time for a specified day and location.
  3. Which of the following symbol is used to add multiple line comments in PHP ?
  4. PHP is a case sensitive
  5. Which sign is used to access variable of variable in PHP?
  6. Which of following is not a Superglobals in PHP?
  7. Which function is used to get ASCII value of a character in PHP ?
  8. ______ is used to unset a variable in PHP ?
  9. How many error levels are available in PHP ?
  10. In which version of PHP E_STRICT Error level is introduced ?
  11. Which function in PHP is used to get the length of string variable?
  12. Which of the below symbols is a newline character?
  13. Who is the father of PHP?
  14. Type Hinting was introduced in which version of PHP?
PHP MCQ

Take PHP Quiz & Online Test To test your Knowledge

We have listed below the best PHP MCQ Questions with Answers for your basic knowledge of PHP Framework and the best preparation of PHP Interviews. This PHP MCQ Test & Quiz contains 35 best Multiple choice questions. You have to select the right answer to every PHP MCQ Question. You can see the correct answer by clicking the view answer link. You can also download the PHP MCQ PDF from the download link given between the PHP Quiz.

Also, Read Best PHP interview questions.

  • Open Source Laguage
  • Widely Used Language
  • Server side scripting language
  • All of the above
View Answer
  • $$
  • $
  • #@
  • $|
Download Free : PHP MCQ PDF
View Answer
  • $_SERVER
  • $_ENV
  • $_FILES
  • $_PUT
View Answer
  • asc()
  • chr( )
  • ascii()
  • val( )
View Answer
  • delete()
  • unset()
  • unlink()
  • delete();
View Answer
  • 20
  • 4
  • 19
  • 16
View Answer
  • PHP 4
  • PHP 5
  • PHP 5.2
  • PHP 7
View Answer
  • count()
  • strcount
  • strlen
  • len
View Answer
  • Drek Kolkevi
  • Rasmus Lerdorf
  • Willam Makepiece
  • List Barely
View Answer
  • Inbuilt Function
  • Default Function
  • Magic Function
  • User Defined Function
View Answer
  • func_get_args()
  • func_get_argv()
  • get_argv()
  • get_argc()
View Answer
  • Personal Home Page
  • PHP Hypertext Preprocessor
  • Pro Hypertext Preprocessor
  • None of the above
View Answer
  • .xml
  • .html
  • .php
  • .py
View Answer
  • Notepad ++
  • VS Code Editor
  • Sublime Text
  • All of the above
View Answer
  • function {function body}
  • functionName(parameters) {function body}
  • function functionName(parameters) {function body}
  • None of the above
View Answer
  • PHP 3
  • PHP 5
  • PHP 7
  • PHP 8
View Answer
  • file()
  • fold()
  • glob()
  • None of the above
  • Yes
  • No
View Answer
  • zip()
  • compress()
  • zip_compress()
  • gzcompress()
View Answer
  • Hello World
  • Hello World!
  • Hello World! Welcome to the Online Interview Questions
  • None of the above
View Answer
  • $_SESSION[]
  • isset() function
  • session_start() function
  • session_destroy() function
View Answer
  • 15
  • 16
  • 17
  • 14
View Answer
  • Source PHP List
  • Standard PHP List
  • Standard PHP Library
  • None of the Above
View Answer