Re: Re: $ref =& $this;

From: Date: Mon, 03 Oct 2005 14:29:19 +0000
Subject: Re: Re: $ref =& $this;
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-19347@lists.php.net to get a copy of this message
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 ;-)). - Chris

« previous php.internals (#19347) next »