// calculate the function name $f = sql_serveur('select'); // execution of the function as per the determined API $f($arg1, $arg2, ... );