Which of the following is used to declare a constant?
What gets printed?
$var = 'false'; if ($var) { echo 'true'; } else { echo 'false'; }
Which function is used to locate a string within a string?
Way to create comments in PHP?
Which variable is used for the PHP script name?
PHP files have a default file extension of
How do we access the value of 'Q' later?
$a = array( 'a', 3 => 'm', 1 => 'p', 'Q' );
What gets printed?
<?php
$mine = "a";
$$mine = 5;
echo "$a";
?>
Can we use include function two times in a PHP page?