[PHP-DEV] Re: Heredoc-Syntax

2002-01-30 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: > It's easy, but do we really want it? > > heredoc is used like > > function foo() { > $msg = EOH > some string here and I don't see > any good reason put EOH; colum other than 1. > EOH; > print $msg; > } > > Heredoc text must start from colum 1 anyway ;) BTW, I'm

[PHP-DEV] Re: Heredoc-Syntax

2002-01-30 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > On Wed, 30 Jan 2002, Yasuo Ohgaki wrote: > > >>>therefore i wrote 'on its own line'. i suppose heredoc is handled by >>>the scanner, so this should not be a problem. >>> > > It's handled by the scanner indeed I know :) > > >>>yohgaki: you were talking about reason