Created
November 13, 2014 03:28
-
-
Save phplaw/65c3f6c4036bc5f6691c to your computer and use it in GitHub Desktop.
PHP Tips & Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mystring = <<<EOT | |
This is some PHP text. | |
It is completely free | |
I can use "double quotes" | |
and 'single quotes', | |
plus $variables too, which will | |
be properly converted to their values, | |
you can even type EOT, as long as it | |
is not alone on a line, like this: | |
EOT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment