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. If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?

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

3. Where we can update permalink in WordPress admin panel?

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

5. Which of the following cryptographic functions in PHP returns the longest hash value?

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

7. What is the use of ereg() function in PHP?

8. In PHP which function is used to remove whitespace from the start and end of a variable?

9. Choose correct function which checks if a specified value exists in an array?

10. PHP 5 support exceptions

Close