#43734 [Opn->Csd]: general code error

From: Date: Thu, 03 Jan 2008 04:54:41 +0000
Subject: #43734 [Opn->Csd]: general code error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121000@lists.php.net to get a copy of this message
ID: 43734 User updated by: kimdeaig at hanmail dot net Reported By: kimdeaig at hanmail dot net -Status: Open +Status: Closed Bug Type: *General Issues Operating System: linux/window PHP Version: 5.2.5 New Comment: change Previous Comments: ------------------------------------------------------------------------ [2008-01-03 02:41:45] kimdeaig at hanmail dot net Description: ------------ basic code error Reproduce code: --------------- // END;[ ] blank add echo <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon. no extra whitespace! END;&nbsp Expected result: ---------------- This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon. no extra whitespace! Actual result: -------------- <b>Parse error</b>: syntax error, unexpected $end in ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43734&edit=1

« previous php.bugs (#121000) next »