I\'m sure there\'s a very easy explanation for this. What is the difference between this:
function barber($type){ echo \"You wanted a $type haircut, no
I imagine it is useful for calling a function that you don't know the name of in advance... Something like:
switch($value): { case 7: $func = 'run'; break; default: $func = 'stop'; break; } call_user_func($func, 'stuff');