Re: Heredoc-Syntax

From: Date: Wed, 30 Jan 2002 11:28:13 +0000
Subject: Re: Heredoc-Syntax
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-78540@lists.php.net to get a copy of this message
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 not against accept spaces before heredoc end mark. I just don't see good reason to change. 0 for this change. I think if someone really want this kind of simple change, it would be more easier came up with conclusion if there is patch for it :) -- Yasuo Ohgaki

« previous php.dev (#78540) next »