Yes, it doesn't look right (nor feel right — which is why I didn't suggest it in the first place :), but it works.
$obj->${$t1.$t2}() ;
You forgot to take a reference (\) to the string $t1.$t2, which is being dereferenced with ${...}
In reply to Re^5: concat method inside method call
by almut
in thread concat method inside method call
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |