php之heredoc語法

  W3pop.com 原創PHP實例 說明 PHP4新增長的heredoc語法(<<<):  <?php  echo <<<_html  第一行  第二行  第三行  _html;  ?>  只要保證兩個標記中沒有出現和它們名稱相同的文字就行(這裏就是_html)  代碼 <?php  $name = "w3pop.com";  echo <<<_html  第一行!<br />  第二行!<b
相關文章
相關標籤/搜索