NYCPHP Meetup

NYPHP.org

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

Ron Guerin ron at vnetworx.net
Mon Jan 27 20:02:22 EST 2014


On 01/27/2014 06:46 PM, Jeff Slutz wrote:
> I've known it by the term variable variables.
> 
> http://www.php.net/manual/en/language.variables.variable.php

I /knew/ I was asking a stupid question...  I know $$foo is a "variable
variable", but for some reason I didn't connect it with ${'foo'.$i} .

Thanks!

- Ron




More information about the talk mailing list