[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 reasons and mentioned only one that >>>isn't a reason for me. any other reasons ? >>> >>As I mentioned, feel free to write and submit patch :) >> >>PS: You are better to search archive, there were discussion >>regarding heredoc patch. It's not directly related to >>this change, but it may help. The last patch was rejected, >>IIRC. >> > > It's fairly easy to patch, the question is if we want it. Andi, what's > your statement on this? I don't see why the heredoc label should be on the > first column anyways. > 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 ;) -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]