Re: Re: $ref =& $this;
| From: | Marcus Boerger | Date: | Mon, 03 Oct 2005 14:35:47 +0000 |
| Subject: | Re: Re: $ref =& $this; | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19351@lists.php.net to get a copy of this message | ||
Hello Christian,
Monday, October 3, 2005, 4:29:19 PM, you wrote:
> Marcus Boerger wrote:
>> php 4 code is wrong in this and we don't want to support the errors
>> forever.
> Programming is like sex: One mistake and you have to maintain it for the
> rest of your life (-:C
> Sometimes I wish I would have insisted more in Nov. 1999 when I brought
> up the reference vs. cloning issue for PHP4 beta. Oh well...
> Anyway, if you break compatibility with PHP4 you risk that _fewer_
> people migrate to it, not more. Lots of PHP4 code is out there and easy
> migration is key. That's why I'd advocate an E_STRICT plus disallow it
> in PHP7 (or PHP8 ;-)).
E_STRICT in 5.0, 51 is the least thing we need to do and probably we should
simply stop supporting 4.4 otherwise we never have our user base upgrade.
Best regards,
Marcus