Skip to content

Instantly share code, notes, and snippets.

@hardyoyo
Created July 25, 2013 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hardyoyo/6082511 to your computer and use it in GitHub Desktop.
Save hardyoyo/6082511 to your computer and use it in GitHub Desktop.
this php function is throwing syntax errors, I'm trying to figure out why
function getDomainOptions() {
$opt = <<< HERE
<option value="@foo.bar">foo.bar</option>
HERE;
return $opt;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment