Home  >  Article  >  Backend Development  >  PHP long string definition method

PHP long string definition method

高洛峰
高洛峰Original
2016-12-01 10:06:501755browse

Copy the code The code is as follows:

我很长,如何换行呢?我很长, 
如何换行呢?我很长,如何换行呢?我很长, 
如何换行呢?我很长,如何换行呢?'; 
$xx=<<我不长,我不长,我不长, 
我不长,我不长,我不长,我不长,我不长,我不长,我不长, 
我不长,我不长,我不长,我不长,我不长,? 
html; 
echo$xx; 
?>


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
Previous article:Generate random stringNext article:Generate random string