PHP Quizzes & Trivia

Are you ready for some PHP trivia? Check out our online PHP quizzes and answer questions like, what the acronym PHP originally stood for, and more to test your knowledge and learn interesting facts as you play.
Top Trending

This is your description.

Questions: 10  |  Attempts: 2080   |  Last updated: Nov 17, 2020
  • Sample Question
    Which of the following is the incorrect way to declare a PHP variable?

This quiz is a test of basic PCRE, aka, preg_match().  Difficult concepts in regexes are not covered.  Passing the test indicates that you have a basic understanding of regexes.

Questions: 6  |  Attempts: 1625   |  Last updated: Jan 7, 2013
  • Sample Question
    In the following statement, what does the "+" symbol mean?preg_match('/^[0-9]+$/', $data)

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: 4986   |  Last updated: Sep 28, 2020
  • Sample Question
    What will be printed?if ('2' == '02') { echo 'true';} else { echo 'false';}

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: 1299   |  Last updated: Sep 28, 2020
  • 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?

This quiz is meant for self-study to aid in learning/memorizing the string functions in PHP.

Questions: 13  |  Attempts: 521   |  Last updated: Dec 13, 2012
  • Sample Question
    What is the output of the following code snippet? $str = 'asdfghyo off on off'; $replace_pairs = array('a' => 'q', 's' => 'w', 'd' => 'e', 'f' => 'r', 'y' => 'z', 'o' => 'i', 'off' => 'on', 'on' => 'off'); echo strtr($str, $replace_pairs);


PHP, originally standing for Personal Home Page, is a server-side scripting language used all around the word in the designing of webpages and in web development in general. Do you know it well enough? Let’s find out!

Question:   |  Attempts: 366   |  Last updated: Apr 1, 2021

Question:   |  Attempts: 76   |  Last updated: Feb 5, 2021


Question:   |  Attempts: 105   |  Last updated: Feb 1, 2021


Question:   |  Attempts: 269   |  Last updated: Dec 16, 2020

Question:   |  Attempts: 152   |  Last updated: Dec 16, 2020

PHP practice test: a trivia quiz. This server scripting language is commonly used to design interactive WebPages. If you have just started learning about it, this quiz is exactly what you need to refresh your memory. Do you...

Question:   |  Attempts: 89   |  Last updated: Aug 6, 2020

PHP is a programming language used in web development and some general development purposes. Here is a quiz to check what you know about the fundamentals of PHP.

Question:   |  Attempts: 134   |  Last updated: Dec 30, 2019

Question:   |  Attempts: 547   |  Last updated: Nov 22, 2019

This is the Ultimate Trivia Quiz on the Design Principle. This quiz is specifically prepared to help you refresh your knowledge of what makes a good effective and pleasurable design. It is very important for designers to follow a...

Question:   |  Attempts: 1522   |  Last updated: Oct 3, 2019

This quiz is designed to test Your Knowledge of PHP. This programming language is designed to test out just how well one uses this language to develop websites. Have you ever used it and think you know how to use it? Take up the...

Question:   |  Attempts: 114   |  Last updated: Oct 3, 2019

When getting into web development, the first glance at PHP and all that comes with it can be a daunting task. Once you learn the basics, however, things become easier. Let’s see how much you know thus far!

Question:   |  Attempts: 1117   |  Last updated: Apr 2, 2018

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?...

Question:   |  Attempts: 216   |  Last updated: Apr 2, 2018

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.

Question:   |  Attempts: 1458   |  Last updated: Mar 19, 2018

Phalcon is web framework based on model-view-controller. Phalcon is known to boost resource usage, execution speed and handle more HTTP requests in a second. However, it requires root administration server.

Question:   |  Attempts: 102   |  Last updated: Mar 7, 2018

Kohana is a web application framework. It is generally preferred because of its security, weightlessness, and simplicity. This quiz asses your knowledge about the Kohana. 

Question:   |  Attempts: 105   |  Last updated: Mar 6, 2018

PHP is a programming language  that's mainly used for web development. Have you perhaps used it before and you think you a lot about it? Well, why don't you take on your size.

Question:   |  Attempts: 144   |  Last updated: Mar 6, 2018

Question:   |  Attempts: 170   |  Last updated: Dec 8, 2017

This is a quiz that tests your basic PHP.

Question:   |  Attempts: 123   |  Last updated: Dec 8, 2017

How far goes your knowlegde in the terms of PHP?

Question:   |  Attempts: 945   |  Last updated: Dec 8, 2017

This quiz will test your insurance topic knowledge after studying on your own or taking online classes that may be mandatory in your state.  Ready?  Let's begin!

Question:   |  Attempts: 8366   |  Last updated: Nov 2, 2017

PHP TEST - II B ( SUBJECTIVE )Test Duration : 4 Hours ( 240 Minutes )Test Type : Subjective Passing Score : 70%Instructions :YOU'RE BEING CLOSELY WATCHED1. DO NOT USE GOOGLE,2. DO NOT USE TRAINING FILES3....

Question:   |  Attempts: 138   |  Last updated: Aug 24, 2016

This is a quiz over basic HTML tags, and php. With a review through the information on my site you should be able to answer the questions on this quiz. Good luck!

Question:   |  Attempts: 239   |  Last updated: Jan 15, 2013