[nycphp-talk] Variable composition: ${'foo'.$i}
Ron Guerin
ron at vnetworx.net
Wed Jan 29 12:07:20 EST 2014
On 01/27/2014 09:44 PM, justin wrote:
>
> On Monday, January 27, 2014, Ron Guerin <ron at vnetworx.net
> <mailto:ron at vnetworx.net>> wrote:
>
> 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} .
>
> The best thing ever written on the subject of variable variables:
>
> http://www.reddit.com/r/programming/comments/dst56/today_i_learned_about_php_variable_variables/c12np38
Wow. That's some scary stuff there.
- Ron
--
Join the NY Metro Area Tech Discussion!
http://lists.luny.org/mailman/listinfo/talk
More information about the talk
mailing list