Shortcut Navigation:

Substr Quot Abcdef Quiz

Which of these statements is true?

Can PHP support multiple inheritance?

How would you add 1 to the variable $count?

Which of the following is used to check if a function has already been defined?

What is the return value of this substr function? 
PHP Code
 
<?php
$rest = substr("abcdef", -1);
$rest = substr("abcdef", 0, -1);
?>

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

Program below will call the function display_result(). True or False? 
PHP Code
 
<?php
$x="display";
${$x.'_result'} ();
?>

All variables in PHP start with which symbol?

Who is known as the father of PHP?

In PHP the error control operator is _______