Difference between echo '...' and echo "..." | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Difference between echo '...' and echo "..."

What is Difference between echo '...' and echo ".." ?

28th Aug 2019, 10:19 PM
Demby P
2 Answers
+ 4
supriya🍀 i tried this in codeplayground. it showed different output. how could i get same output? <?php $a = 4; $b = 5; $c = $a+$b; echo '$c'; echo "$c"; ?>
28th Aug 2019, 11:59 PM
Demby P
0
Vc fala portugues tambem
8th Sep 2019, 1:42 PM
Thiago Mello
Thiago Mello - avatar