I think this may be a stupid question, but I am quite confused whether I need to escape backslash in PHP.
echo \'Application\\Models\\User\'; prints Applicat
If it is to be used in an HTML page, then you might as well use code \ to represent a backslash, like so:
echo 'Application\Models\User';
It will print:
Application\Models\User