PHP Classes

dUnzip2 Code

Recommend this page to a friend!

      dUnzip2  >  All threads  >  dUnzip2 Code  >  (Un) Subscribe thread alerts  
Subject:dUnzip2 Code
Summary:there haven't end tags "?>" in all php files, Why?
Messages:2
Author:domecc
Date:2006-07-24 09:38:36
Update:2007-04-28 12:33:26
 

  1. dUnzip2 Code   Reply   Report abuse  
Picture of domecc domecc - 2006-07-24 09:38:36
I found dUnzip2's php files haven't end tags "?>".

Does it matter?

  2. Re: dUnzip2 Code   Reply   Report abuse  
Picture of Ferdinand Kuhl Ferdinand Kuhl - 2007-04-28 12:33:26 - In reply to message 1 from domecc
Seems like Alexandre read the Zend-Coding-Guideluines.

There they say NOT to use ending ?>-PHP - Phrases in Class files. This way you ensure that no trailing whitespace becomes interpreted as HTML and is sent to the browser.