PHP interview questions and answers article which make you confident to prepare PHP certificate exam. Use the PHP online quiz test to prepare about PHP basic question which generally use in beginner interview process.
This online PHP test include 10 Multi Choice questions related to PHP Basic, Variable, Syntax, function.
How to define a constant in PHP?
Correct!
Wrong!
-
The default timeout of a PHP session is....
Correct!
Wrong!
-
Which function is used to convert an array into a string?
Correct!
Wrong!
-
Which function is used to find the number of parameters passed into a function ?
Correct!
Wrong!
-
How to sort an array by key?
Correct!
Wrong!
-
Which function is used to count number of elements on $array?
Correct!
Wrong!
-
How to add a multi line comment in PHP?
Correct!
Wrong!
-
Which of the following is not a valid variable?
Correct!
Wrong!
-
Which of the following is not a SuperGlobal?
Correct!
Wrong!
-
To find the number of characters in the string variable $var, which function should be used?
Correct!
Wrong!
-

PHP interview questions
I got %%score%% of %%total%% right