1
I would like to make the content of a variable form another variable, for example:
$name = 'clientes';
$default_$name_list = "Lista de clientes";
I want to make the default variable $default_clientes_list
, there is some way to do this in PHP?
Good answer. Just to reinforce that this practice is ma, I add another point to what you have already said. It is also possible to replace values of other local variables that exist with the generated name, without the person noticing, creating bugs that are difficult to detect. Small example
– Isac