打印关联数组时出错(错误:意外"",期待T_STRING或T_NUM STRING)

fal*_*all 1 php associative-array syntax-error

我有代码:

print <<<HERE
<p>$myInfo["lastName"]</p>
HERE;
Run Code Online (Sandbox Code Playgroud)

并得到错误:

错误:意外"",期待T_STRING或T_NUM STRING

问题是什么?