search

Home  >  Q&A  >  body text

Single quotes can parse \' and \

Single quotation marks can be parsed\'. I got it through the experiment, but I have never understood the parsing\. The experiment always shows \. Who can help explain it?

呵呵呵呵呵呵2626 days ago1540

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-09-20 14:41:27

    Post the code, dear, you can’t tell what’s wrong with it.

    reply
    0
  • ringa_lee

    ringa_lee2017-09-20 14:41:14

    is used for escaping, 'is escape', so that no error will be reported if single quotes are nested within single quotes

    reply
    0
  • Cancelreply