Why can I do:
<?
$my_func = "function_name";
$result = $my_func( $arg1, $arg2, $arg3 );
but NOT do:
<?
$my_ob->func = "function_name";
$result = $my_ob->func( $arg1, $arg2, $arg3 );
?>
to call function_name() with the apropriate arguments? Do I have to do something to the object-property reference to make it work? Currently I'm doing:
<?
$my_ob->func = "function_name";
$f = $my_ob->func;
$result = $f( $arg1, $arg2, $arg3 );
?>
which works, but it's nyaaagh!
---
Playing: "Whole lotta love" by "Led Zeppelin"
from the "Led Zeppelin II" album
þ Synchronet þ Programatically generated on The ANJO BBS