NYCPHP Meetup

NYPHP.org

[nycphp-talk] heredoc help please?

Urb LeJeune urb at e-government.com
Thu Jan 31 11:17:24 EST 2008


>print nl2br(
><<<EOD
>Here
>are
>four
>lines.
>EOD
>);

Doesn't the closing EOD need a trailing ";"?


Urb

Dr. Urban A. LeJeune, President
E-Government.com
609-294-0320  800-204-9545
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Government.com lowers you costs while increasing your expectations.





More information about the talk mailing list