Skip to content

Commit

Permalink
fix: add \$ as a possibleescape char in double quoted strings in PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
arestivo committed Mar 11, 2024
1 parent ad0bf22 commit 18671ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ Single quoted strings don't recognize any other escape sequences.

# Double Quote

If the string is enclosed in *double quotes*, more escape sequences for special characters are allowed (e.g. \r, \n, \t, \\\\, \"):
If the string is enclosed in *double quotes*, more escape sequences for special characters are allowed (e.g. \r, \n, \t, \\\\, \", \$):

```php
$title = "The quick brown fox\njumps over the lazy dog";
Expand Down

0 comments on commit 18671ff

Please sign in to comment.