PHP Online Fun Quiz Questions

PHP Online Fun Quiz Questions

PHP Online Fun Quiz Questions

PHP Online Fun Quiz Questions

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

Welcome to your PHP Online Fun Quiz Questions

Name
Email
Mobile
1. Whether One-line comment begin with pound sing(#) in php?
2. In PHP, during error handling include() generates a warning, but the script will continue execution
3. <?php
$qpt = 'Eat to live, but not live to eat';
echo preg_match("/^to/", $qpt);
?>
4. <?php
$x=array("aaa","","ccc","ddd","");
$y=array_unique($x);
echo count($x) . "," . count($y);
?>

Guess the Output
5. PHP is a _____ . It means you do not have to tell PHP which data type the variable is. PHP automatically converts the variable to the correct data type, depending on its value
6. Which one of the following is not a valid variable name?
7. Which of the following function is used to change the root directory in PHP?
8. PHP is
9. <? $father="mother";
$mother="son";
echo $$father;
?>
10. <?php
$x=array(4,2,5,1,4,5,3,4);
$y=array_count_values($x);
echo count($y);
?>

[Total: 0    Average: 0/5]

Leave a Reply

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