For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2006 > #37648 [Opn->Bgs]: Unexplained use of closing php tag









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #37648 [Opn->Bgs]: Unexplained use of closing php tag
colder@php.net

2006-06-17, 6:58 pm

ID: 37648
Updated by: colder@php.net
Reported By: tokul at users dot sourceforge dot net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:

It's already documented:

http://php.net/language.basic-synta...tion-separation


Previous Comments:
------------------------------------------------------------------------

[2006-05-31 04:17:32] tokul at users dot sourceforge dot net

Description:
------------
Could you update php manual and explain why closing php tag can be
omitted?

PHP manual talks only about valid tag pairs
(http://www.php.net/manual/en/language.basic-syntax.php). The fact that
closing tag can be ommitted is found only in some pear bug reports.

http://pear.php.net/bugs/bug.php?id=5263
http://propel.phpdb.org/trac/ticket/116

It would be nice to see documentation chapter, that explains why
closing tag can be ommited and confirms that it does not break php
parsing.



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=37648&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com