So I was browsing through php.net when I came across List () and went to see what it was for. Then they gave me the following example:
$info = array('Café', 'marrom', 'cafeína');
list($bebida, $cor, $substancia) = $info;
echo "$bebida é $cor e $substancia o faz especial.\n";
In this one I ask myself: Do not give me, instead of doing it, do type:
$info = [$bebida, $cor, $substancia];
aí fazer tipo
$info[0] = "café"
$info[1] = "marrom"
$info[2] = "cafeína"
And then just call a echo
of life type "$info[0] é $info[1] e $info[2] o faz especial. \n"
??