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
Post a Comment