How to write php function that receive 3 in var and print it from the large to small number without array?

i need to write a php function that receive 3 in var and print it from the large to small number without array