string_implicit_backslashes,single_quote.test 290 B

12345678910111213
  1. --TEST--
  2. Integration of fixers: string_implicit_backslashes,single_quote.
  3. --RULESET--
  4. {"string_implicit_backslashes": {"single_quoted": "escape", "double_quoted": "escape"}, "single_quote": true}
  5. --EXPECT--
  6. <?php
  7. $var = 'a\\b';
  8. $baz = "a\\'b";
  9. --INPUT--
  10. <?php
  11. $var = "a\b";
  12. $baz = "a\'b";