Bug #8685 Updated: Here-Syntax problem

From: Date: Wed, 30 Jan 2002 01:17:31 +0000
Subject: Bug #8685 Updated: Here-Syntax problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78483@lists.php.net to get a copy of this message
ID: 8685 Updated by: yohgaki Reported By: h.radi@nme.at Old Status: Open Status: Bogus Bug Type: Feature/Change Request PHP Version: 4.1.1 New Comment: There are good reasons this will not be implemented. (As original(?) author memtioned) Think about possibility that begin/end of heredoc mark appears in text and how paser handle text and begin/end of heredoc. Supporting this does not worth effort, IMHO. This is just my opinion, so feel free to create/submit patch. ;) Previous Comments: ------------------------------------------------------------------------ [2002-01-29 07:59:05] phanto@php.net thank you philip :) closing it silently after over a year is a bit to easy. this realy obfuscates php code a lot and i don't see any valid reason. so maybe this is an issue for ZE2. ------------------------------------------------------------------------ [2002-01-28 21:35:42] philip@php.net I like this feature request, so am reopening it :) Until someone replies with a definitive response as to why such heredoc spacing is required in PHP. ------------------------------------------------------------------------ [2002-01-28 20:38:20] yohgaki@php.net Many script languages that support here doc syntax require closing tag at col 1. Won't change. ------------------------------------------------------------------------ [2001-01-12 16:36:11] derick@php.net This is not a bug, but a feature request ------------------------------------------------------------------------ [2001-01-12 16:22:11] h.radi@nme.at why must the closing tag be in column 1 ? i think it schould be enought that it stays in its own line. if($foo) { echo <<<EOF ... lots of text ... EOF; } looks very ugly and messes up all code beautifiers and autoindention. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8685&edit=1

« previous php.dev (#78483) next »