0
다음 5 개를 출력하려고하지만 확실하지는 않습니다. 어떤 아이디어?PHP heredoc 구문 질문
<?php
$other='What are you like?';
$content['my_name']=4;
$str=<<<JT
here is some info. $other Do
you like the number {$content['my_name']+1} ?
JT;
echo $str . '<br />';
난 당신이 히어 닥 블록에서 작업을 할 수 있다고 생각하지 않습니다. 변수를 미리 준비해야합니다. –