1.
What is the file extension for PHP scripts?
2.
Which of the following tags is used to indicate the beginning of PHP code?
3.
How do you output text in PHP?
4.
What is the purpose of the semicolon (;) in PHP?
5.
Which function is used to retrieve the value of a query string parameter in PHP?
6.
What does the following code output? <?php echo 5 + 3 * 2; ?>
7.
Which of the following PHP tags is deprecated and should be avoided?
8.
Which function is used to include the contents of another PHP file?
9.
What is the output of the following code? <?php $name = "Alice"; echo "Hello, $name!"; ?>
10.
Which of the following statements is true about PHP variables?