What is the meaning of $ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the meaning of $

..

19th Feb 2017, 6:50 AM
Ashokkumar.M
Ashokkumar.M - avatar
3 Answers
+ 4
it's used in declaration of variable, all php variables start with the dollar sign.
19th Feb 2017, 6:54 AM
Tuchy
Tuchy - avatar
+ 3
in php $ is a variable
19th Feb 2017, 7:01 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 3
As others have said, $ is used to state a variable in PHP. Just like in JavaScript you would use the var keyword, and many other languages use their own keywords.
19th Feb 2017, 7:50 AM
Mary-Ann Burton
Mary-Ann Burton - avatar