On Sun, Jan 11, 2009 at 1:47 AM, Jesse Callaway <bonsa...@gmail.com> wrote:
> 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.
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to