-- rada -- wrote:
Hello all,Can anyone help me with heredoc? I have this code: <?php echo <<<EOD This is a heredoc test. Test line 2. Test line 3 with tab. EOD;
print nl2br( <<<EOD Here are four lines. EOD ); (Note: the close parens needs to be on its own line) _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
