RE: [PEAR-DEV] RE: [PEAR-CVS] cvs: pear /Cache OutputCompression.php
| From: | Christian Stocker | Date: | Thu, 25 Apr 2002 14:05:44 +0000 |
| Subject: | RE: [PEAR-DEV] RE: [PEAR-CVS] cvs: pear /Cache OutputCompression.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5802@lists.php.net to get a copy of this message | ||
On Thu, 25 Apr 2002, Naoki Shima wrote:
> Hi,
>
> I have 3 things to say.
>
> First, I personally do not like using die() or exit() in any of my class.
sure, no one likes that ;)
> Second, Yasuo Ohgaki told me(and php-dev ml) that it might be related
> to how PHP handles output buffering and he was going to take a look at the
> PHP source(not sure exactly when though). Thus, when it's fixed, my changes
> will be safely reverted.
that's even better ;)
> Last, why leave unstable option as default? Who does want to use option that
> might cause their web site to fail serving web pages to end users? Please
> think more about people who relies on this class.
because, if someone incorporated this class and relies on not having a die
after printContent(), his script will fail now and I wanted to avoid that
and keeping BC. Maybe i am just to conservative :)
But if the majority thinks the way you think, then i have no problem in
having the die() as default.
chregu