Why we use $ in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why we use $ in php?

27th Jan 2017, 3:21 PM
Suhel Ahmad
Suhel Ahmad - avatar
6 Answers
+ 4
It's like asking why HTML uses <>
27th Jan 2017, 3:57 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
The only thing that is useless is your question.
27th Jan 2017, 3:59 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
Because we all love money and want to get rich ;)
27th Jan 2017, 4:39 PM
Jeremie
Jeremie - avatar
+ 2
$ is a prefix to variable names. so you may define a variable x as : $x= "hello"
27th Jan 2017, 10:34 PM
ifl
ifl - avatar
+ 1
every language has uniqe syntax
27th Jan 2017, 4:42 PM
abd alkader alnazer
abd alkader alnazer - avatar
0
if you don't know answer so plz don't give any useless speech.
27th Jan 2017, 3:59 PM
Suhel Ahmad
Suhel Ahmad - avatar