title: Trouble using PHP complex (curly) syntax with static variables
body: <p>I'm trying to use the PHP curly string syntax to pull out some static variables.  Here's a quick test class:</p>
  
  <pre><code>class asdf{
      public static $variable = 'foo@';
  
      public static function getValue() {
          return "{asdf::$variable}bar.com";
      }
  }
  </code></pre>
  
  <p>I've tried several variations, some of which (like <code>"${asdf::$variable}"</code>)  give me the result back as a string, which then gets parsed back as a lookup.  So, I know something there is mostly working.</p>
  
  <p>And for edification, I'm expecting something like 'foo@bar.com' when I call the function.</p>
  
  <p>I expect that it is a syntax issue, but I couldn't find anything useful at the <a href="http://php.net/manual/en/language.types.string.php" rel="nofollow noreferrer">official documentation</a>.  Or maybe it is a deficiency, as I know that many people avoid statics as much as possible.</p>