Re: [PHP-DEV] Re: [RFC][Draft] Sealed Classes

2021-04-25 Thread Michał Marcin Brzuchalski
Hello Saif sob., 24 kwi 2021, 13:00 użytkownik Saif Eddin Gmati napisał: > A major behavior i wanted to discuss is how should sealed interfaces work, > and specially around `Throwable` which is currently sealed to only `Error` > and `Exception`, but allows other interfaces to extend it, and othe

Re: [PHP-DEV] Re: [RFC][Draft] Sealed Classes

2021-04-24 Thread Larry Garfield
On Sat, Apr 24, 2021, at 6:00 AM, Saif Eddin Gmati wrote: > A major behavior i wanted to discuss is how should sealed interfaces > work, and specially around `Throwable` which is currently sealed to > only `Error` and `Exception`, but allows other interfaces to extend it, > and other classes to

[PHP-DEV] Re: [RFC][Draft] Sealed Classes

2021-04-24 Thread Saif Eddin Gmati
A major behavior i wanted to discuss is how should sealed interfaces work, and specially around `Throwable` which is currently sealed to only `Error` and `Exception`, but allows other interfaces to extend it, and other classes to implement it as long as they extend `Error` or `Exception` ( or an