Posted by ImOk on 05/05/06 23:15
Aha, the old {} trick. But how does it work with a function name? E.g. $trm="trim"; echo ${'l' . $trm}(" xxxxxx"); // should execute ltrim(" xxxxxx"); echo ${'r' . $trm}(" xxxxxx"); The above don't work. What am I doing wrong?
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming