Way to direct HTML code directly with PHP

xiaoxiao2021-03-06  80

$ Str = <<< HTML

FSDFSDFSD

<> DFSDF

HTML;

Echo $ STR;

?>

The name of the HTML can be taken, such as ABC, but to be consistent (case sensitive), and finally end the top of the top, that is, to be the most at one line. You can also directly echo:

echo <<< ABC

ABC;

?>

转载请注明原文地址:https://www.9cbs.com/read-122110.html

New Post(0)