Correction status:qualified
Teacher's comments:
代码:
<?php $name1 = '小明'; $name2 = '老师'; $echo1 = $name2.':'. '\''.$name1.',你将来想找一份什么样的工作?\''; $echo2 = "{$name1}:\"钱多事少离家近!\""; echo $echo1, '<br>', $echo2; echo '<br>'; echo $itse = <<<HEREDOC {$name2}:"那是怎样的一份工作呢?"; HEREDOC; echo '<br>'; echo $its = <<< "HEREDOC" {$name1}:"在小区门口摆个碗,月收入过万!"; HEREDOC; echo '<br>'; echo <<<NOWDOC $name2 :“滚出去。” NOWDOC; echo '<br>';
点击 "运行实例" 按钮查看在线实例
运行图: