KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Do I need to escape backslash in PHP? echo 'Application\Models\User'; # Prints "Application\Models\User" echo 'Application\\Models\\User'; # Same output echo 'Application\Model\'User'; # Gives "Application\Model'User" So it's an escape character. Shouldn't I need to escape it ( \ ) if I want to refer to Application\Models\User ?
Tags (comma-separated)
Save Edits
Cancel