[RFC][VOTE] Default parent constructors RFC

From: Date: Sun, 11 Jan 2015 00:34:23 +0000
Subject: [RFC][VOTE] Default parent constructors RFC
Groups: php.internals 
Request: Send a blank email to internals+get-80340@lists.php.net to get a copy of this message
Hi! I'd like to initiate a vote on this RFC: https://wiki.php.net/rfc/default_ctor TLDR: this RFC would make a call to parent::__construct() succeed (as in "not produce a fatal error") even if the parent class does not define a ctor. Same for __destruct and __clone. The motivation for it is in the RFC and here: https://php100.wordpress.com/2014/11/04/default-constructors/ I've chosen the simplest way of implementing it, as suggested by Dmitry, in https://github.com/php/php-src/pull/990. There are other alternatives, but I think the simpler the better. Previous discussion is at: http://marc.info/?t=141630266000001&r=2&w=2 -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#80340) next »