Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-01-29 Thread Robert Landers
Hi, > You're not going to convince me that not initializing variables is a good > thing Personally, I don't think uninitialized variables are a "good thing" but I also don't think they're a "bad thing" either. I'd just like to see it not matter when writing a simple one-off script. FWIW, C# has g

Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-01-29 Thread Lynn
On Sat, Jan 29, 2022 at 8:58 PM Christian Schneider wrote: > Am 29.01.2022 um 20:03 schrieb Mark Randall : > > On 29/01/2022 16:33, Christian Schneider wrote: > >> If a static analyzer manages to catch it at development time then that > is a lot better. > > > > Of course it's better, but you woul

Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-01-29 Thread Christian Schneider
Am 29.01.2022 um 20:03 schrieb Mark Randall : > On 29/01/2022 16:33, Christian Schneider wrote: >> If a static analyzer manages to catch it at development time then that is a >> lot better. > > Of course it's better, but you wouldn't argue that a car doesn't need airbags > because you've tested

Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-01-29 Thread Mark Randall
On 29/01/2022 16:33, Christian Schneider wrote: If a static analyzer manages to catch it at development time then that is a lot better. Of course it's better, but you wouldn't argue that a car doesn't need airbags because you've tested that the breaks work. Defense in depth. Our ecosystem

Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-01-29 Thread Christian Schneider
Am 28.01.2022 um 23:57 schrieb Jordan LeDoux : > > On Thu, Jan 27, 2022 at 12:24 AM Christian Schneider > wrote: > > My issue with this is that while it seems to work towards the goal of "fail > fast" it does not completely fulfill its promise. > > > Pardon me, b