01.2: Escape Characters

How do we print a new line or tab character? How do we put quotes within our string quotes? In this lesson we learn how to escape and print special characters.


https://www.youtube.com/watch?v=1jTwYaB4nt8





<?php
# * Escape characters

print "foo \t bar\n";

print "Jane says \"Hi\".\n";

print "Print a dollar sign with \$ .\n";

?>