Re: BC break or not?
| From: | Pierre | Date: | Wed, 26 Apr 2006 17:57:52 +0000 |
| Subject: | Re: BC break or not? | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3723@lists.php.net to get a copy of this message | ||
On 4/26/06, Philippe Jausions <Philippe.Jausions@11abacus.com> wrote:
> Hi,
>
> I'm working on Crypt_Blowish and one of the problem with the existing
> version is that it does things like this at different locations:
>
> PEAR::raiseError('Plain text must be a string', 0, PEAR_ERROR_DIE);
>
> which is not really user friendly for such a package.
>
> Does changing it to:
>
> return PEAR::raiseError('Plain text must be a string', 0);
>
> constitue a BC break?
>
> In essence, I guess it does, but how does one fix this kind of
> situations without a BC break?
No, it is a fixe (DIE is not allowed in pear packages).
--Pierre