What represent $$in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What represent $$in php

means if $name="hello"; $say=hi; echo $$name;

28th Sep 2017, 2:16 AM
Nishu Dwivedi
Nishu Dwivedi - avatar
1 Answer
+ 3
$ is a variable accessor. Multiple $s means it checks the value of the first $variable, let it be var Then the next $ checks the value of $var, qnd so on
28th Sep 2017, 4:05 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar