Warning: Undefined array key "options" in /home/bapugrap/public_html/quiz/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/site-logo.php on line 192
PHP Advance Questions Quiz | PHP Quiz - Web and Graphics Quiz

share

PHP Advance Questions Quiz | PHP Quiz

PHP Advance Questions Quiz | PHP Quiz

PHP Advance Questions Quiz | PHP Quiz

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

PHP Advance Questions Quiz | PHP Quiz

Welcome to your PHP Advance Questions Quiz

Name
Email
Mobile


  1. Assume that your php file 'index.php' in location c:/apache/htdocs/phptutor/index.php. If you used $_SERVER['PHP_SELF'] function in your page, then what is the return value of this function ?

2. Which operator is used to concatenate two strings in php?

3. Are there regular expressions in PHP?

4. In PHP, which of the following function is used to insert content of one php file into another php file before server executes it

5. What will be the ouput of below code ? Assume that today is 2009-5-19:2:45:32 pm

<?php

$today = date("F j, Y, g:i a");

?>

6. Which of the following function is used for terminate the script execution in PHP?

7. What function used to print statement in PHP?

8. What will be the output ?

<?php
define("x","5");
$x=x+10;
echo x;
?>

9. What will be the output of below code ?

<?php
$arr = array(5 => 1, 12 => 2);
$arr[] = 56;
$arr["x"] = 42;
unset($arr);
echo var_dump($arr);

?>

10. PHP variables are

Leave a Reply

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