I have some contents from a text file. I want to load it into a variable in PHP
I just need to copy/paste the text directly into a variable without escaping all quotes etc
How to do something like this? I'm not looking for a solution with file_get_content
, since my use case's environment does not support file reads.
$str = "saldflasdfl
asdklksadlasd "quoted string"
aslkdlsadfkl";