Is it possible to alias a function with a different name in PHP? Suppose we have a function with the name sleep. Is there a way to make an alias called wa
sleep
wa
nope. the way you wrote is the best way to do it.