17th
Mar
Mar

PHP MCQ
- Admin
- 17th Mar, 2023
- 842 Followers
PHP MCQ Questions
PHP is an abbreviation of PHP: HyperText Preprocessor. It is a server-side scripting language, that is used to develop dynamic web pages. It is developed by Rasmus Lerdorf in 1995. It is the most popular programming language in the world because it is easy to learn.
Finally, Take the Advanced PHP MCQ Test to brush up your PHP programming skills.
PHP MCQ with Answers
1) PHP is a ............
2) The date_sunset() function returns the sunset time for a specified day and location.
3) Which of the following symbol is used to add multiple line comments in PHP ?
4) PHP is a case sensitive language.
6) Which of following is not a Superglobals in PHP?
7) Which function is used to get ASCII value of a character in PHP ?
8) ______ is used to unset a variable in PHP ?
9) How many error levels are available in PHP ?
11) Which function in PHP is used to get the length of string variable?
12) Which of the below symbols is a newline character?
13) Who is the father of PHP?
14) Type Hinting was introduced in which version of PHP?
15) A function in PHP which starts with __ (double underscore) is known as __________ .
Download Free: PHP Interview Questions PDF
16) Which of the following PHP functions accepts any number of parameters?
17) PHP’s numerically indexed array begin with position ___________ .
18) Which of the functions is used to sort an array in descending order?
19) Which one of the following property scopes is not supported by PHP?
20) PHP stands for ..........
21) PHP files have a default file extension of .............
22) Which of the following is/are a PHP code editor?
23) How to define a function in PHP?
24) what is the latest version of PHP?
25) Which version of php introduced try/catch exception?
26) Which PHP function is used to find files?
27) Is php is a programming language?
28) PHP is a popular choice for coding blank programs.
29) Which of the following variables is not a predefined variable in PHP?
30) Which of the following function is used to compress a string?
31) What will be the output of the following PHP code?
32) Which of the following is used to create a session?
33) Which version of PHP introduced the instance of keyword?
34) There are ............ error levels are available in PHP?
35) What does SPL stands for in Php?
Leave A Comment :
Valid name is required.
Valid name is required.
Valid email id is required.