How will you deal with indirect function calls like this?

$indirector = ‘ex’.’ec’;
$indirector(‘my_bad_shell_command’);