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

2024-11-29 Thread Tim Düsterhus
Hi Am 2024-11-24 21:40, schrieb Máté Kocsis: It took me a while to realize that, I think, the fromWhatWg() method is using an in/out parameter for error handling. That is an insta-no on my part. in/out reference parameters make sense in C, maybe C++, and basically nowhere else. I view them

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

2024-11-29 Thread Tim Düsterhus
Hi Am 2024-08-26 09:40, schrieb Máté Kocsis: Please re-read the RFC as it shares a bit more details than my quick summary above: https://wiki.php.net/rfc/url_parsing_api I have now finally found the time to go through the discussion thread and make a first pass through the RFC and have the fo

Re: [PHP-DEV] Adding attributes to compile-time constants

2024-11-29 Thread Tim Düsterhus
Hi Am 2024-11-26 21:39, schrieb Larry Garfield: I believe it would require an RFC, though I expect it would pass easily. I agree. Attributes on regular constants introduce new syntax, which is a pretty clear language change and thus requires an RFC. Best regards Tim Düsterhus