News for hackers. Stuff that matters.
Re:PHP On Pie takes a fresh new approach. by tmcw on Sunday September 12, 2010 @11:42AM (#1683810)
Because it's highly dependent on scope? Like, if I wanted to template each list item in an array, I could use array_map with another template function, but here I would have to keep re-assigning a variable in a foreach.

And it seems to be unclear on how you'd pass array and object members to it? It seems very much to encourage variable creep?

Re:PHP On Pie takes a fresh new approach. by mcantelon on Sunday September 12, 2010 @05:28PM (#1684594)
>if I wanted to template each list item in an array, I could use array_map with another template function

Good point.