Re: To ?> or not to ?>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


( forget email addres :( )
Robert Cummings wrote:
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?

Just as long as no one proposes making leaving out compulsory ;)

While I can sort of understand the logic when the file is all php and just has
an opening<?php, but when it's part of a file that has numerous opening and
closing tags AND using<?= then leaving one segment un-terminated just seems
totally wrong?

These kinds of files don't generally have issues with trailing whitespace though
:) I certainly close the tags in these cases.

I'm not alone then :)
But I prefer EVERY tag to be closed ... perhaps that would change if the IDE's faked a closing tag when it's missing so they don't get flagged as an error :(

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [Find Someone]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux