PHP 4.0 Bug #4350: here-docs end-marker doesn't work if indentated...

From: Date: Mon, 08 May 2000 13:21:43 +0000
Subject: PHP 4.0 Bug #4350: here-docs end-marker doesn't work if indentated...
Groups: php.dev 
Request: Send a blank email to php-dev+get-18529@lists.php.net to get a copy of this message
From: cloaked@hem.passagen.se Operating system: WinNT 4.0 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Scripting Engine problem Bug description: here-docs end-marker doesn't work if indentated... <?php switch (1) { default: print <<< EOH I am a here-doc... EOH; break; } ?> I had a hard time figuring it why this gave a parser error.. It turned out to be the indentation of the end marker.

« previous php.dev (#18529) next »