My string looks like:
$fullPath = $dirName . \"/\" . $file;
If I replace / with \\, it gives error:
Expecting identifier
You need "\\" because \ is an escape character.
"\\"
\