Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • yes but why don't we need it for echo? Commented Feb 21, 2013 at 13:51
  • @CharlesB You do need the quotes for echo. What makes you think otherwise? Commented Feb 21, 2013 at 21:37
  • I don't need them, I can echo $test and it works (it outputs the value of $test) Commented Feb 21, 2013 at 22:05
  • 1
    @CharlesB It only outputs the value of $test if that does not contain multiple spaces anywhere. Try the program in my answer for an illustration of the reason. Commented Feb 22, 2013 at 9:17