搜尋此網誌

2016/7/22

[php]使用EOT內要加入變數使用的方式

$text="Jordan";

echo <<<EOT
    Hello {$text}
EOT;

沒有留言: