Multiple choice technology

PHP server scripts are surrounded by delimiters, which?

  1. <?php>...</?>

  2. <?php…?>

  3. <script>...</script>

  4. <&>...</&>

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

PHP server-side scripts are enclosed in delimiters, which tell the PHP processor to interpret the code between them as PHP. Option A incorrectly uses and ?>, option C shows HTML script tags used for JavaScript, and option D shows invalid syntax.