title: PHP display a variable in a variable (string)
body: <p>I have this code</p>
  
  <pre><code>$text = "Hello $person";
  $persons = array("Mike", "Tom", "Foo");
  foreach ($persons as $person) {
      echo $text."&lt;br&gt;";
  }
  </code></pre>
  
  <p>The goal is to display:</p>
  
  <pre><code>Hello Mike&lt;br&gt;
  Hello Tom&lt;br&gt;
  Hello Foo&lt;br&gt;
  </code></pre>
  
  <p>I thought about using {} and $$, but that doesn't seem to be ok.
  What am I missing?</p>