| Examples of assignment of escape and quotes | // The contents of the variables |
|---|---|
| $dir = 'C:\\xamp\\php'; $name = 'Mike\'s Music Store'; $quote = "Hi said. \"It costs \$12. \""; $comment1 = "This is a\nmulti-line string.; $comment2 = 'Not a\nmulti-line string.'; |
// C:\xampp\php // Mike's Music Store // He said. 'It costs $12." // This is a // Multi-line string. // Not a\nmulti-line string |
Copyright(Asaph Binene): Jun. 5, 2015