NYCPHP Meetup

NYPHP.org

[nycphp-talk] Variable composition: ${'foo'.$i}

Ron Guerin ron at vnetworx.net
Mon Jan 27 18:43:41 EST 2014


Is the only name I've found for this:  ${'foo'.$i}

Which, if $i is 2, gives the value of the variable $foo2

Since "variable composition" only has one hit in Google though, there's
got to be another name for it.  Anyone know what that might be?

- Ron


More information about the talk mailing list