PHP Online Quiz

PHP Online Quiz

PHP Online Quiz

PHP Online Quiz

Find below MCQ (Multiple Choice) questions and Answers for PHP Online Quiz. Play our PHP Online Quiz and Earn points and check how sharp your skill are in PHP Framework

Welcome to your PHP Online Quiz

Name
Email
Mobile
1. Which of these statements is true?
2. Is php can support multiple inheritance?
3. How would you add 1 to the variable $count?
4. Which of the following is used to check if a function has already been defined?
5. What is the return value of this substr function?

<?php

$rest = substr("abcdef", -1);

$rest = substr("abcdef", 0, -1);

?>
6. Assume that your php file 'index.php' in location c:/apache/htdocs/phptutor/index.php. If you used basename($_SERVER['PHP_SELF']) function in your page, then what is the return value of this function ?
7. $x="display";
${$x.'_result'} ();
?>
Above program will call the function display_result()
8. All variables in PHP start with which symbol?
9. Father of PHP?
10. In PHP the error control operator is _______

[Total: 0    Average: 0/5]

Leave a Reply

Your email address will not be published. Required fields are marked *