Re: cvs: php-src(PHP_5_3) /main output.c
| From: | Hannes Magnusson | Date: | Tue, 15 Jul 2008 15:29:05 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /main output.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-51135@lists.php.net to get a copy of this message | ||
On Tue, Jul 15, 2008 at 15:18, Lars Strojny <lstrojny@php.net> wrote:
> Hi Hannes,
>
> Am Dienstag, den 15.07.2008, 15:07 +0200 schrieb Hannes Magnusson:
>> I see no point in breaking bc just to break it.
>
> that's how it is done elsewhere too. The issue is, there are no tests to
> tell us how the behaviour was before the parameter handling was changed
Which is why it is good practice to write the tests before changing anything.
> to the new API, so we can only guess. And return null is the better
> guess from MPOV.
Some of those functions have been using that API for years...
Why would you need to guess anything anyway?
-Hannes