Re: [VOTE] Deprecate returning values from __construct() and __destruct()

From: Date: Mon, 15 Jun 2026 13:19:49 +0000
Subject: Re: [VOTE] Deprecate returning values from __construct() and __destruct()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-131274@lists.php.net to get a copy of this message
On Mon 15 Jun 2026, 15:09 Tim Düsterhus, <tim@bastelstu.be> wrote: > Hi > > I just opened the vote on “Deprecate returning values from __construct() > and __destruct()â€�. > > RFC: äâ‚ > ÚI—Üõn@©ÛN/úhttps://wiki.php.net/rfc/deprecate-return-value-from-construct > Discussion: https://news-web.php.net/php.internals/130808 > > There is a single primary vote to cast. Voting closes 2026-06-29 > 14:00:00 UTC. > > Best regards > Tim Düsterhus > Just to clarify: return $this->privateVoidReturning(); will also trigger a deprecation? >

« previous php.internals (#131274) next »