Home » General Knowledge » Computer » PHP Quiz Online Test Mcqs

PHP Quiz Online Test Mcqs

Test Instructions

Test Name : PHP MCQs
Subject : Computer General
Test Type : Mcqs
Total Question : 25
Total Marks : 50
Total Time : 20 Minutes

PHP was originally developed by Rasmus Lerdorf during 1994 and was known as Personal Home Page which later became Hypertext Preprocessor. Due to being a very important language in the field of programming, question about it are quite often often part of computer general knowledge related exams. That’s why everyone should have basic basic knowledge about it and the individuals who don’t, can attempt this quiz in order to improve their information level.

PHP Quiz Online Test Mcqs Questions with Answers Objective Type PDF

 

Question 1 of 25

Uncategorized

1. Which one of the following functions can be used to compress a string?

Question 1 of 25

Question 2 of 25

2. Which one of the following PHP functions can be used to find files?

Question 2 of 25

Question 3 of 25

3. PHP Scripts starts with ________?

Question 3 of 25

Question 4 of 25

4. What is the description of Error level E_ERROR?

Question 4 of 25

Question 5 of 25

5. Which one of the following PHP functions can be used to build a function that accepts any number of arguments?

Question 5 of 25

Question 6 of 25

6. Which version of PHP introduced the advanced concepts of OOP?

Question 6 of 25

Question 7 of 25

7. Which one of the following is the right way to clone an object?

Question 7 of 25

Question 8 of 25

8. PHP is _______ scripting language?

Question 8 of 25

Question 9 of 25

9. In PHP Language variables are case sensitive?

Question 9 of 25

Question 10 of 25

10. In PHP a variable needs to be declare before assign?

Question 10 of 25

Question 11 of 25

11. If your object must inherit behavior from a number of sources you must use a/an?

Question 11 of 25

Question 12 of 25

12. PHP scripts are executed on _________?

Question 12 of 25

Question 13 of 25

13. Which magic method is used to implement overloading in PHP?

Question 13 of 25

Question 14 of 25

14. PHP Stands for?

Question 14 of 25

Question 15 of 25

15. Which character do the error_reporting directive use to represent the logical operator NOT?

Question 15 of 25

Question 16 of 25

16. How many error levels are available in PHP?

Question 16 of 25

Question 17 of 25

17. Which version of PHP introduced E_STRICT Error level?

Question 17 of 25

Question 18 of 25

18. In PHP, each statement must be end with ______?

Question 18 of 25

Question 19 of 25

19. Which of the following PHP functions can be used for generating unique id’s?

Question 19 of 25

Question 20 of 25

20. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?

Question 20 of 25

Question 21 of 25

21. Which of the following statements prints in PHP?

Question 21 of 25

Question 22 of 25

22. In PHP Language variables name starts with _____?

Question 22 of 25

Question 23 of 25

23. If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?

Question 23 of 25

Question 24 of 25

24. Which of the following is not the scope of Variable in PHP?

Question 24 of 25

Question 25 of 25

25. Which of the following PHP functions can be used to get the current memory usage?

Question 25 of 25


 

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Leave a Reply

Your email address will not be published. Required fields are marked *