[SOLVED] Why no PHP closing tag? curious. many files in the sample code are missing ?> tag
Posted 07 October 2011 - 02:50 PM
When is it appropriate or required to add the closing tag?
One of many examples in the blog demo:
Kindly explain this convention!
Posted 07 October 2011 - 03:33 PM
As stated in http://framework.zen...formatting.html:
Posted 19 November 2012 - 11:44 AM
I have a problem, because all my php files in the framework have no '?>' closing tag. However I can't see any php page.
I uploaded to server host with this characteristics:
PHP Version 5.2.14
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
serialize_precision 100 100
short_open_tag Off Off
Adding ?> tag solves the problem, but I have many php pages
Any suggestions are welcome
Posted 20 November 2012 - 05:20 AM