NYCPHP Meetup

NYPHP.org

[nycphp-talk] Quick little question - variable interpolation

Adam Maccabee Trachtenberg adam at trachtenberg.com
Thu Oct 17 15:18:55 EDT 2002


On Thu, 17 Oct 2002, Adam Fields wrote:

> $one = '1';
> $two = '= $one';
> 
> Is there a way to get $two to equal '= 1' (or whatever $one happens to
> contain, obviously)?

$two = "= $one";

-adam




More information about the talk mailing list