You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snippet with error: #571a31319d764
Language: php Kadet\Highlighter\Language\Php
Version: 0.8.0-1e4513b
The text was updated successfully, but these errors were encountered:
kadet1090
changed the title
[php] First letter after backslash is treated like an escape code (?) in strings
[php] First letter after backslash is treated like an escape sequence in single quoted strings
Apr 22, 2016
It's correct behavior for double quoted strings, where every character after \ is treated like escape sequence (\n, \r etc.), in single quoted strings only \ and ' are valid escapes, i'll try to somehow separate them.
I think that snippet makes it obvious
Snippet with error: #571a31319d764
Language: php
Kadet\Highlighter\Language\Php
Version: 0.8.0-1e4513b
The text was updated successfully, but these errors were encountered: