PHP Quiz Online Test Mcqs

Gotest Instruction for Test Online

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. PHP scripts are executed on _________?
 
 
 
 

Question 1 of 25

Question 2 of 25

2. How many error levels are available in PHP?
 
 
 
 

Question 2 of 25

Question 3 of 25

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

Question 3 of 25

Question 4 of 25

4. In PHP Language variables name starts with _____?
 
 
 
 

Question 4 of 25

Question 5 of 25

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

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 functions can be used to compress a string?
 
 
 
 

Question 7 of 25

Question 8 of 25

8. PHP Scripts starts with ________?
 
 
 
 

Question 8 of 25

Question 9 of 25

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

Question 9 of 25

Question 10 of 25

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

Question 10 of 25

Question 11 of 25

11. PHP is _______ scripting language?
 
 
 
 

Question 11 of 25

Question 12 of 25

12. Which version of PHP introduced E_STRICT Error level?
 
 
 
 

Question 12 of 25

Question 13 of 25

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

Question 13 of 25

Question 14 of 25

14. PHP Stands for?
 
 
 
 

Question 14 of 25

Question 15 of 25

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

Question 15 of 25

Question 16 of 25

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

Question 16 of 25

Question 17 of 25

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

Question 17 of 25

Question 18 of 25

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

Question 18 of 25

Question 19 of 25

19. What is the description of Error level E_ERROR?
 
 
 
 

Question 19 of 25

Question 20 of 25

20. In PHP Language variables are case sensitive?
 
 
 
 

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. If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?
 
 
 
 

Question 22 of 25

Question 23 of 25

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

Question 23 of 25

Question 24 of 25

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

Question 24 of 25

Question 25 of 25

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

Question 25 of 25


 

 

.

You can Check Our Other Related Topics