Is it possible to define a function argument as multiple possible types? For example, a function may take a string or an integer to accomplish something. Is it possible to somehow define it like this?
function something(int|string $token) {}
Or is only one type per argument supported?
(mind you, I know I can filter input later on, I just like to have my arguments typed)