Skip to content

Instantly share code, notes, and snippets.

@phplaw
Created November 13, 2014 03:28
Show Gist options
  • Save phplaw/65c3f6c4036bc5f6691c to your computer and use it in GitHub Desktop.
Save phplaw/65c3f6c4036bc5f6691c to your computer and use it in GitHub Desktop.
PHP Tips & Tricks
<?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