Calling a function dynamically
Posted: Sun May 04, 2008 10:34 pm
Is there any difference between these lines of code:
Is there anything PHP does in the background with call_user_func() that is important and/or necessary?
Code: Select all
$result = $funcName();Code: Select all
$result = call_user_func($funcName);