The test contains some questions and there is no any time limit..
The test is not a official, it's only a simple way to see how much you know, or don't know, about PHP or how much your experience about php
Its a Test of your php knowledge
You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed.
Following quiz provides Multiple Choice Questions (MCQs) related to PHP. You will have to read all the given answers and click over the correct answer at the end of Page
Good luck!
Q 1 - Which of the following gives a string containing PHP script file name in which it is called?
Q 5 - Which of the following function creates an array?
Q 3 - Which of the following type of variables are named and indexed collections of other values?
Q 4 - Which of the following gives a string containing PHP script file name in which it is called?
Q 5 - Which of the following is correct about NULL?
A - A variable that has been assigned NULL evaluates to FALSE in a Boolean context.
B - A variable that has been assigned NULL returns FALSE when tested with IsSet() function.
Q 6 - Which of the following is correct about PHP?
A - PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
B - PHP is a server side scripting language that is embedded in HTML.
Q1-Answer : A- Explanation $_PHP_SELF − A string containing PHP script file name in which it is called.
Q2-Answer : A- Explanation array() − Creates an array.
Q3-Answer : B- Explanation Arrays: are named and indexed collections of other values.
Q4-Answer : A- Explanation $_PHP_SELF − A string containing PHP script file name in which it is called.
Q5Answer : C- Explanation Both of the above options are correct.
Q-6 Answer : D- Explanation All of the above options are correct.