ID: 16763 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: ALL PHP Version: 4.2.0
Previous Comments: ------------------------------------------------------------------------ [2002-04-26 11:21:51] [EMAIL PROTECTED] Erm, my prev not was not intended to be against this new <?php=?> form, I just intended to add some more info ;) ------------------------------------------------------------------------ [2002-04-26 11:20:59] [EMAIL PROTECTED] > People who do like the shorthand method > will no longer have to write code using an > optional tag style which requires an ini > setting which is NOT set on every(or > even most?) servers. ..and which tag is not XML safe. BTW <?php=$var?> is still not XML safe, so this is not a real argument ;) XML 1.0 specifies PIs: '<?' PITarget (S (Char * ... which means, that a space is needed after PITarget (which is php in this case). ------------------------------------------------------------------------ [2002-04-26 11:16:17] [EMAIL PROTECTED] Actually, removing <?= wouldn't improve consistency unless you also removed <%=. Nobody, it seems, is actually willing to remove the short hand, so the only way to improve consistency is to support it in all three cases. People who don't like the shorthand method will continue to act as if it doesn't exist. People who do like the shorthand method will no longer have to write code using an optional tag style which requires an ini setting which is NOT set on every(or even most?) servers. ------------------------------------------------------------------------ [2002-04-25 20:09:34] [EMAIL PROTECTED] Removing <?= and <%= works, too ;) We are sure now. There will be people curious about not having <?php=, since there are <?= and <%=. It looks we are better to document about echo short cut, explicitly. ------------------------------------------------------------------------ [2002-04-25 19:27:03] [EMAIL PROTECTED] Removing <?= would also improve consistency. I don't buy the consistency argument. ------------------------------------------------------------------------ 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/16763 -- Edit this bug report at http://bugs.php.net/?id=16763&edit=1