Hi Felipe,

Am Freitag, den 28.03.2008, 20:28 -0300 schrieb Felipe Pena:
> 2008/3/24, Marcus Boerger <[EMAIL PROTECTED]>:
[...]
> +1 for same reason.
> 
> However, the patch is wrong, see below:
> 
> $foo = 'foobar';
> 
> $test = <<<"a
> $foo
> a;
> 
> var_dump($test);
> /*
> string(7) "foobar
> "
> */
> 
> $test = b<<<"a"
> $foo
> a;
> 
> /*
> Parse error: syntax error, unexpected $end
> */
> 
> Here's a possible fix:
> - http://felipe.ath.cx/diff/double-quote-heredoc.diff


Thanks for bringing this up, didn't thought about that. I will create a
number of tests to cover that properly.

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to