If the string is enclosed in double-quotes PHP understands more escape sequences for special characters. Escape sequences for special characters will not be expanded when they occur in single quoted strings.