Re: [PHP-DEV] [RFC] [Discussion] Minor version compatibility

2025-04-13 Thread Bob Weinand
Hey Jorg, On 13.4.2025 23:07:07, Jorg Sowa wrote: I have collected all concerns, prepared an RFC for this change, and I'm opening discussion on its content: https://wiki.php.net/rfc/minor-version-compatibility Let me address some parts of the RFC: - The secondary vote #1 requires the same h

[PHP-DEV] [RFC] [Discussion] Minor version compatibility

2025-04-13 Thread Jorg Sowa
Thank you all for the feedback on the topic of BC breaks in argument validation https://news-web.php.net/php.internals/126706 I have collected all concerns, prepared an RFC for this change, and I'm opening discussion on its content: https://wiki.php.net/rfc/minor-version-compatibility Since this

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-13 Thread Rowan Tommins [IMSoP]
On 13/04/2025 15:07, Kamil Tekiela wrote: This discussion seems to have overlooked that the setting doesn't just restrict the*display* of arguments, it restricts the*collection* of those arguments into the Exception object, which has visible effects on the behaviour and performance of the program

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-13 Thread Kamil Tekiela
>This discussion seems to have overlooked that the setting doesn't just restrict the *display* of arguments, it restricts the *collection* of those arguments into the Exception object, which has visible effects on the behaviour and performance of the program. Oh, I didn't know that. I assumed the

Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API

2025-04-13 Thread Máté Kocsis
Hi Tim, I think I would prefer: > > namespace Uri { > class InvalidUriException extends \Uri\UriException > { > } > } > > namespace Uri\WhatWg { > class InvalidUrlException extends \Uri\InvalidUriException { > /** @var list */ >

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-13 Thread Rowan Tommins [IMSoP]
On 09/04/2025 03:00, Andrew Lyons wrote: Hi everyone, I've been working on a new RFC which proposes changing the default value for the zend.exception_ignore_args INI setting from Off to On. The intent of this change is to make PHP installations safer by default and prevent the accidental rel