To call a function from a string stored in a variable in PHP, you can use the call_user_func() function.