Re: Reference handling change and PHP 4.4.0
| From: | Todd Ruth | Date: | Mon, 19 Sep 2005 18:54:56 +0000 |
| Subject: | Re: Reference handling change and PHP 4.4.0 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19084@lists.php.net to get a copy of this message | ||
On Mon, 2005-09-19 at 22:36 +0400, Antony Dovgal wrote:
> 1) They are only notices, you don't *have* to fix them as they can be safely silenced.
It would be nice if they could be safely silenced, but the bug I
just filed about the BC break in 4.4 (#34551) was just marked bogus,
so it looks like you must fix the notices or risk having the behavior
of your code change (even if you never corrupted any memory).
I am grateful for the notices and even more grateful for the
resolving of the memory corruptions. For the sake of many other
users, I'm frustrated that there was a BC break that came with
the notices (beyond the advertised internal api change).
(The BC break is that "$y =& $x; $y =& ..." is no longer guaranteed
to disconnect $y from $x.)
- Todd
> 2) Yes, you *can* fix them since they tell you about potential problems in your code.
>
> --
> Wbr,
> Antony Dovgal
>