Skip to content

Commit 8e75dad

Browse files
Support the other usual sequences
1 parent 2dc1cba commit 8e75dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private static function parseValue($value)
134134
case self::ESCAPE_STATE:
135135
if ($char === $value[0] || $char === '\\') {
136136
return [$data[0].$char, self::QUOTED_STATE];
137-
} elseif (in_array($char, ['n', 'r'], true)) {
137+
} elseif (in_array($char, ['f', 'n', 'r', 't', 'v'], true)) {
138138
return [$data[0].stripcslashes('\\' . $char), self::QUOTED_STATE];
139139
} else {
140140
throw new InvalidFileException(

0 commit comments

Comments
 (0)