NYCPHP Meetup

NYPHP.org

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

Jeff Slutz jeff at jeffslutz.com
Wed Jan 29 13:45:49 EST 2014


 That's awesome!  I love the response: can we hang this guy, I'm pretty
sure he's a witch.

:)

--
Jeff Slutz
JSLEUTH LLC
2105 N Fork Drive
Lafayette, CO 80026
c. 970.443.9390
jeff at jeffslutz.com


On Wed, Jan 29, 2014 at 10:07 AM, Ron Guerin <ron at vnetworx.net> wrote:

> 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
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show-participation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20140129/cd12543a/attachment.html>


More information about the talk mailing list