title: PHP var in JSON
body: <p>I searched on the internet to see if it was possible to put a php variable in a json text but I found nothing, is it possible? an example below</p>
  <pre><code>$name = 'Alex';
  </code></pre>
  <pre><code>{&quot;Hi&quot;:&quot;Hi $name!&quot;}
  </code></pre>