WordPress Development Question:
Download Job Interview Questions and Answers PDF
Would you initialize strings with single quotes or double quotes?
Answer:
Since the data inside the single-quoted string is not parsed for variable substitution, it's always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.
Download WordPress Expert Interview Questions And Answers
PDF
Previous Question | Next Question |
Is a web site on WordPress secure? | Why doesn't the following code print the newline properly? |