[RFC] [DISCUSSION] Make constructors and destructors return void

From: Date: Tue, 16 Jun 2020 23:10:51 +0000
Subject: [RFC] [DISCUSSION] Make constructors and destructors return void
Groups: php.internals 
Request: Send a blank email to internals+get-110612@lists.php.net to get a copy of this message
Hey internals, This is a completely refined, follow-up RFC to my original RFC. Based on the feedback I have received, this PR implements full validation and implicitly enforces void rules on constructors/destructors while also allowing to declare an **optional** explicit void return type. Note, that there is a small but justifiable BC break (as stated by the RFC). RFC: https://wiki.php.net/rfc/make_ctor_ret_void Best regards, Benas Seliuginas

« previous php.internals (#110612) next »