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 of the following cryptographic functions in PHP returns the longest hash value?

2. Which of the following method is used to tweak an object’s cloning behavior?

3. If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?

4. What is the correct way to start php session?

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

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

7. Which of the following is used to validate and sanitize external input?

8. PHP allows us to use include (”header.php”) two times in a PHP page “index.php”?

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

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

Close