Bug #67714 [Opn->Nab]: heredoc ends in Parse error

From: Date: Wed, 30 Jul 2014 15:32:20 +0000
Subject: Bug #67714 [Opn->Nab]: heredoc ends in Parse error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186887@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67714&edit=1 ID: 67714 Updated by: rasmus@php.net Reported by: xenoist+php at midlandgate dot de Summary: heredoc ends in Parse error -Status: Open +Status: Not a bug Type: Bug Package: *General Issues Operating System: x86_64 gentoo hardened PHP Version: 5.5.15 Block user comment: N Private report: N New Comment: Unable to reproduce. Check for weird characters in your file using od or something. Nothing has changed in PHP that would affect this. See: http://3v4l.org/eIJ0B Previous Comments: ------------------------------------------------------------------------ [2014-07-30 11:32:07] xenoist+php at midlandgate dot de Description: ------------ <?php $red=<<<red <span style="color: #FF0000; background-color: #FFFFFF ">; red; ?> Worked with dev-lang/php-5.5.14. Expected result: ---------------- No Parse error. Actual result: -------------- Parse error: syntax error, unexpected '<<<red' in /var/www/test.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67714&edit=1

« previous php.bugs (#186887) next »