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
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to