- @trigger_error('Not escaping a backslash in a double-quoted string is deprecated since Symfony 2.8 and will throw a ParseException in 3.0.', E_USER_DEPRECATED);
-
- return $value;
+ throw new ParseException(sprintf('Found unknown escape character "%s".', $value));