Multiple choice php

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

PHP supports both single and double quotes for string literals. The primary difference is that double quotes allow for variable interpolation and special escape sequences (like \n), while single quotes treat the content as literal text (except for escaped single quotes and backslashes).