php string escaping like python's """ """? -


hi wondering if there easy way escape strings in php.

in python use """ """, , between there escaped. when using special characters ignored.

i have text echo, , escaping manually takes forever.

does php have similar function built in ?

thanks!

which characters have escape?

you use single quotes [docs]. characters have escaped in such string \ , '.

if have long string, have @ heredoc [docs].


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -