2. Which of the following tags is not a valid way to begin and end a PHP code block?
Вариант ответа 1 - A) <% %>
Вариант ответа 2 - B) <? ?>
Вариант ответа 3 - C) <?= ?>
Вариант ответа 4 - D) <! !>
Вариант ответа 5 - E) <?php ?>
Комментарий: While tags such as <% %> and <?= ?> are often forgotten in PHP programming, they are valid ways to delimit a PHP code block. The <! and !> tags, however, are not valid and, therefore, the correct answer is D. Keep in mind, in any case, that some of these tags are not always available, depending on how the php.ini file on which the PHP interpreter runs is configured.