> > Sweet so, I think > > > > $a = 'my_func'; > > > > does it for me. > > Also works with properties and methods of objects: > > $foo = new Bar(); > $a = 'my_method'; > $result = $foo->{$a}(); > > Very useful sometimes.
Yes, but indirection can easily be overused. Please don't overuse as it makes reading other's code that much harder. H _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php