Hi

following Rowan’s request from the earlier “let the "new" operator fail when the __construct( ) function returns a value” discussion [1], I have now created a dedicated RFC to deprecate returning values from __construct() and __destruct().

Please find the RFC text at: https://wiki.php.net/rfc/deprecate-return-value-from-construct

Best regards
Tim Düsterhus

[1] https://news-web.php.net/php.internals/130270

Reply via email to