title: syntax error, unexpected (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
body: <p>I want to use variable inline, but I got syntax error.</p>
  
  <p>Code is below</p>
  
  <pre><code>$json_output = @file_get_contents("http://www.youtube.com/oembed?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D$v['id']");
  </code></pre>
  
  <p>And I got this error </p>
  
  <blockquote>
    <p>FatalErrorException in 04fbb7d79f886667a5b215427ff1f592 line 12:
    syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting
    identifier (T_STRING) or variable (T_VARIABLE) or number
    (T_NUM_STRING)</p>
  </blockquote>