PHP Quizzes & Trivia

Calling all savvy web developers out there! Are you confident with your PHP skills? If you want to find out how much you really know, then you came to the right place. We have a "script" of quizzes that will put your PHP expertise to the test. Are you ready for some PHP trivia? What did the acronym PHP originally stand for? Right! It stood for Personal Home Page.

Now, it stands for Hypertext Preprocessor, which is a recursive backronym. That's another trivia for you! What? You prefer more technical quizzes instead? No problem. We have that too! From Data types, Functions, and Objects; that's quite a loop of questions right there. Make Rasmus Lerdorf proud by showing how much you know about PHP. Ready? Break a leg! ...or finger, in your case. Good luck!
Top Trending

What does a PHP web developer do? PHP is a general-purpose programming language that was originally designed for web development. PHP is being used by more developers, especially in the world of freelancers. It is used mostly...

Questions: 15  |  Attempts: 3361   |  Last updated: Mar 12, 2020
  • Sample Question
    What will be printed?if ('2' == '02') { echo 'true';} else { echo 'false';}

Republic Polytechnic Students: You need to set aside 60 mins to complete this quiz. There will be 30 questions in the quiz; the purpose is to test your ability to apply your problem solving and PHP programming skills.

Questions: 40  |  Attempts: 1629   |  Last updated: Jan 9, 2013
  • Sample Question
    Rearrange these steps in the correct order. 1. Connect to Database Server2. Close database connection3. Execute SQL query4. Retrieve HTML form data5. Build SQL statement

In this quiz, we’ll be testing your knowledge on all the different functions of the widely used programming and web development language, PHP! What can you tell us about these functions and how they are used?...

Questions: 39  |  Attempts: 478   |  Last updated: Apr 2, 2018
  • Sample Question
    As of PHP 5.3.0, PHP implements a feature which can be used to reference the called class in a context of static inheritance. How is it called?

What do you know of Laravel and can you answer any question about the topic? If you think you've got something, then this is available to you. If not, remember that power is knowledge.

Questions: 10  |  Attempts: 1150   |  Last updated: Mar 18, 2018
  • Sample Question
    Laravel is based on which language?

This test is for checking your ability to join ITP/Web Development

Questions: 20  |  Attempts: 367   |  Last updated: Jan 30, 2013
  • Sample Question
    How many times will the function counter() be executed in the following code? function counter($start, &$stop) { if ($stop > $start) { return; } counter($start--, ++$stop); } $start = 5; $stop = 2; counter($start, $stop);

You May Also Like: PHP Flashcards

PHP Questions & Answers

What will be printed?$a = array();if ($a[) null;echo count($a)?A. 0B. 1C. 2D. This code wont compile
Like I said, this code won't compile. See check your quiz answer correctly, in your results you say that the correct answer is 0, which is not.
What is the difference between Require and Include?
Require and include are terms used in PHP. Both are being used to carry out different functions in PHP and are written in this form include (), require (). However, it is essential to note that both are not functions but are referred to as constructs
Is this a legal statement in PHP? $_a=500
1. No. It is missing a character
What is the difference between AJAX and PHP?
AJAX is the short form of Asynchronous JavaScript XML. This refers to a group of methods which can be used for web development. AJAX is very important during web development because it houses different techniques that are interrelated and work togeth