Home >Backend Development >PHP Tutorial >Examples and instructions about heredoc in php

Examples and instructions about heredoc in php

WBOY
WBOYOriginal
2016-07-25 09:05:15977browse
In PHP, the Examples and instructions about heredoc in php syntax provides a very convenient way to output large amounts of text. Instead of using double or single quotes to delimit the string, it uses two identical first and last identifiers.

In PHP, the Examples and instructions about heredoc in php syntax provides a very convenient way to output large amounts of text. Instead of using double or single quotes to delimit the string, it uses two identical first and last identifiers. Consider the following example: Examples and instructions about heredoc in php

There are several things worth noting about the above example: Examples and instructions about heredoc in php_desc



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn