Answers

Question and Answer:

  Home  WordPress Theme Development

⟩ Tell me what is the difference between starting a string with single quote and double quote? What you will use in general instance?

A data kept inside a single quoted string is not parsed for variable substitution where as when we initialize the string with double quote the data is parsed for variable substitution. If we don’t require variable substitution particularly then it is always preferred to use single quote as it is much speedy process.

 146 views

More Questions for you: