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?