Hi I was wondering if there is an easy way to escape strings in php.
In python I use \"\"\" \"\"\", and everything between there is escaped. so when using special c
Which are the characters do you have to escape?
You could use single quotes [docs]. The only characters that have to be escaped in such a string are \ and '.
\
'
If you have a long string, also have a look at heredoc [docs].