You are here

function coder_heredoc in Coder 5.2

Same name and namespace in other branches
  1. 5 tests/coder_style.inc \coder_heredoc()

File

tests/coder_style.inc, line 62
This include file implements tests for the Drupal Standards as defined at http://drupal.org/coding-standards

Code

function coder_heredoc() {
  $var = <<<__EOD__
<br><!-- a php error and not a camelCase error -->
<B><!-- an uppercase XHTML error -->
__EOD__;
  $var = <<<__EOD__
<br><!-- and again -->
__EOD__;
}