1. The client passes a value to the server such as: username=admin
instantiate a class on the server, and the simple assignment is as follows:
$userform=new UserForm ();
$userform- > username= "admin";
but if the client passes password= "123456"
in the server $userform- > username has to become $userform- > password,
here to consult the gods, is there any good way to achieve the $userform- > name attribute can be dynamically changed, ask for the relevant code examples, thank you!