Home  >  Article  >  php教程  >  php中echo <<< 的应用

php中echo <<< 的应用

WBOY
WBOYOriginal
2016-06-21 09:10:44697browse

$a="变量的值将被带入";
echo

    php中echo     虽然echo "...";可以断行,但若其中如出现",则仍需做转义
处理。需写做:
    echo "
    aaaa\"uiuie\"
    ...
    ";
    而使用echo     书写格式:
    echo     xxx;
    其中:1、xxx应符合变量名的要求,可以使用中文;
          2、必须存在于独立行中;
          3、xxx; 必须顶格,否则出错;
          4、$a,函数不被执行,有点模板的意思。
    phpinfo();
help;
?>



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