PHP MCQ Questions and Answers Quiz

21. In PHP Language variables name starts with ___________

  1. & (Ampersand)
  2. * (Asterisk)
  3. ! (Exclamation)
  4. $ (Dollar)

22. In PHP, each statement must be end with ___________

  1. ; (semicolon)
  2. / (slash)
  3. . (dot)
  4. : (colon)

23. PHP is ___________ scripting language.

  1. Clint-side
  2. Middle-side
  3. Server-side
  4. Out-side

24. PHP is a ___________ typed language.

  1. Loosely
  2. Server
  3. User
  4. System

25. PHP scripts are executed on ___________________

  1. Client Computer
  2. Server Computer
  3. ISP Computer
  4. It depends on PHP scripts

26. PHP Scripts starts with _________________

  1. ?php ... ?php
  2. ...
  3. ...

27. The uses of strcmp( ) function in PHP?

  1. It compare strings excluding case
  2. It compare strings only Uppercase
  3. It compare strings including case
  4. It compare strings only lowercase

28. Variables are case-sensitive in PHP?

  1. False
  2. True

29. What does fopen() function do in PHP?

  1. It used to open Remote Server
  2. It used to open folders in PHP
  3. It used to open files in PHP
  4. It used to open Remote Computer

30. What does PHP stand for?

  1. Hypertext Preprocessor
  2. Personal Home Page
  3. Preprocessor Home Page
  4. Pretext Hypertext Processor
Tags

MCQ Multiple Choice Questions and Answers on PHP

PHP Trivia Questions and Answers PDF

PHP Question and Answer

Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  Netherland  South Africa  Ethiopia  Zambia  Singapore  Malaysia  India  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  and many more....