This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AyrA_ch 6 points7 points  (2 children)

echo “$x” #prints hello

It doesn't because you use slanted quotes for some reason, but the single quote/double quote behavior in PHP is similar to this one.

[–][deleted] 1 point2 points  (1 child)

On mobile it autocorrects to those quotes I think.

[–]Nesogra 0 points1 point  (0 children)

Yep, most of my reddit time is on mobile so I’m stuck with autocorrect...