came across this in the challanges can anyone explain it? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

came across this in the challanges can anyone explain it?

<?php $solo = array("learn" => "solo"); $learn = array_flip($solo); ${$solo["learn"].$learn["solo"]} = 1; echo $learnsolo ?>

7th Sep 2017, 11:39 AM
Elad Goldenberg
Elad Goldenberg - avatar
1 Resposta
0
I also don't get the use of those curly brackets.. there is nothing in the tutorial about them
7th Sep 2017, 11:41 AM
Elad Goldenberg
Elad Goldenberg - avatar