WordPress Themes Development Question:

Download Job Interview Questions and Answers PDF

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

WordPress Theme Development Interview Question
WordPress Theme Development Interview Question

Answer:

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.

Download WordPress Theme Development Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the difference between accessing a class method via -> and via ::?Tell me how to hide Directory Browsing in WordPress from server using .htaccess file?