I'm new to PHP, and I'd be very grateful if someone could give me a hand with a doubt I have.
I'm writing a program in which I need to create an instance of a class which name is entered by the user. The name can be anything, so I can't do something like a switch. I know in Java there is a ClassLoader class that allows to create an instance passing the class name, but I don't know if this exists in PHP or if there's a workaround to simulate it.
Thank you for your responses, in advance
And sorry if my post is not very clear, but I'm not english