have a variable in the value of a class property?
<p>in my class i have some properties. i want some values of these to have another property. but i noticed it wasnt possible.</p>

<p>code:</p>

<pre><code>$property = "my name is: $this-&gt;name";
</code></pre>

<p>generated an error.</p>

<p>i set the $this->name with the constructor.</p>

<p>could you somehow accomplish this? i would like the "my name is: " to be defined in the property and not in the constructor if its possible.</p>

<p>thanks.</p>
