title: Parse error: expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in ..?
body: <p>I tried to put an if statement inside an echo but this parse error came up, is it not possible to do that? should I use heredoc instead?</p>
  
  <pre><code>echo "&lt;input name='main_branch' type='radio' value='1' &lt;?php if($restaurant['main_branch'] == 1) { echo "checked"; } ?&gt; /&gt;Yes
  &lt;input name='main_branch' type='radio' value='0' &lt;?php if($restaurant['main_branch'] == 0) { echo " checked"; } ?&gt; /&gt;No";
  </code></pre>