+ 5

Doubt about a Challenge

Just had a challenge in PHP. This is the question Guess the output. $x=5; echo("$x"); Answer:5. Should not the answer be $x?

6th Jun 2017, 12:30 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
2 Answers
6th Jun 2017, 12:51 PM
Norayr Gasparyan
Norayr Gasparyan - avatar
+ 4
Thnx.
11th Jun 2017, 9:14 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar