[PHP-DEV] Bug #8685 Updated: Here-Syntax problem

2002-01-30 Thread phanto

ID: 8685
Updated by: phanto
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
PHP Version: 4.1.1
New Comment:

therfore i wrote 'on its own line'. i suppose heredoc is handled by the
scanner, so this should not be a problem.

yohgaki: you were talking about reasons and mentioned only one that
isn't a reason for me. any other reasons ?


Previous Comments:


[2002-01-29 20:17:30] [EMAIL PROTECTED]

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. ;)



[2002-01-29 07:59:05] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Many script languages that support here doc syntax require closing tag
at col 1. 

Won't change.



[2001-01-12 16:36:11] [EMAIL PROTECTED]

This is not a bug, but a feature request



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=8685


Edit this bug report at http://bugs.php.net/?id=8685edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #8685 Updated: Here-Syntax problem

2002-01-29 Thread phanto

ID: 8685
Updated by: phanto
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Old PHP Version: 4.0.4
PHP Version: 4.1.1
New Comment:

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.


Previous Comments:


[2002-01-28 21:35:42] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Many script languages that support here doc syntax require closing tag
at col 1. 

Won't change.



[2001-01-12 16:36:11] [EMAIL PROTECTED]

This is not a bug, but a feature request



[2001-01-12 16:22:11] [EMAIL PROTECTED]

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=8685edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #8685 Updated: Here-Syntax problem

2002-01-28 Thread yohgaki

ID: 8685
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
PHP Version: 4.0.4
New Comment:

Many script languages that support here doc syntax require closing tag
at col 1. 

Won't change.


Previous Comments:


[2001-01-12 16:36:11] [EMAIL PROTECTED]

This is not a bug, but a feature request



[2001-01-12 16:22:11] [EMAIL PROTECTED]

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=8685edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #8685 Updated: Here-Syntax problem

2002-01-28 Thread philip

ID: 8685
Updated by: philip
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Open
Bug Type: Feature/Change Request
PHP Version: 4.0.4
New Comment:

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.


Previous Comments:


[2002-01-28 20:38:20] [EMAIL PROTECTED]

Many script languages that support here doc syntax require closing tag
at col 1. 

Won't change.



[2001-01-12 16:36:11] [EMAIL PROTECTED]

This is not a bug, but a feature request



[2001-01-12 16:22:11] [EMAIL PROTECTED]

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=8685edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]