PHP QUIZ

Instructions:

  • Total Number of Questions: 10
  • Score out of: 10
  • Time alloted: 30 seconds per question, total 30 minutes
  • Each question carry 1 mark
  • No negtive marking

NOTE:

Select one option as answer, for per question and then Click 'Submit and Next' button for next question

Click the 'Result' button after 10th question to get you score.

Do not refresh the Page.

1. Which PHP statement will give output as $x on the screen?

2. What is the correct way to destroy php session?

3. Which among the following function is used to destroy a variable or object

4. How to get an widget named 'sample-widget' in wordpress?

5. Which of the following in-built function will add a value to end of an array?

6. PHP 5 support exceptions

7. What is the correct way to create comments in PHP?

8. Which of the following is used to declare a constant?

9. Which of the following is not a valid directive for declare construct?

10. assert() be used to check user input?

Close