[PHP-DEV] [RFC] [VOTE] XML_OPTION_PARSE_HUGE

2023-10-07 Thread Niels Dossche
Hi internals I'm starting the vote on my RFC to add the XML_OPTION_PARSE_HUGE option to ext/xml. Discussion: https://externals.io/message/121121 RFC link: https://wiki.php.net/rfc/xml_option_parse_huge The voting will run for two weeks, until October 21st 21:10 GMT+2. Kind regards Niels -- PH

Re: [PHP-DEV] [RFC][Under discussion] RFC1867 for non-POST HTTP verbs

2023-10-07 Thread Tim Düsterhus
Hi On 10/6/23 18:18, Jakub Zelenka wrote: It should probably explicitly mention that it uses the same inis like max_input_vars, max_file_uploads and max_multipart_body_parts. That reminds me of this thread: https://externals.io/message/118614 I'd love to see some functionality to handle tho

Re: [PHP-DEV] [RFC][Under discussion] RFC1867 for non-POST HTTP verbs

2023-10-07 Thread Tim Düsterhus
Hi On 10/7/23 14:06, Ilija Tovilo wrote: file. The most common action after a file uploads is arguably to move it to a permanent location using move_uploaded_file(). With a stream I'm not sure if this is actually the most common action, at least in modern applications. Generally there is some

[PHP-DEV] Re: [RFC][Under discussion] RFC1867 for non-POST HTTP verbs

2023-10-07 Thread Ilija Tovilo
Hi Marco Please note that you have accidentally created a new thread. I'm responding from the main thread. > >>> On Fri, Oct 6, 2023 at 2:44 PM Ilija Tovilo > >>> wrote: > >>> https://wiki.php.net/rfc/rfc1867-non-post > > Just wanted to mention that maybe this is a great opportunity to create a

Re: [PHP-DEV] [RFC][Under discussion] RFC1867 for non-POST HTTP verbs

2023-10-07 Thread Ilija Tovilo
Hi Jakub >> https://wiki.php.net/rfc/rfc1867-non-post >> > > It should probably explicitly mention that it uses the same inis like > max_input_vars, max_file_uploads and max_multipart_body_parts. Indeed, I will mention that. Thank you. > It's kind of strange function as I can't decide where it

Re: [PHP-DEV] [RFC][Under discussion] RFC1867 for non-POST HTTP verbs

2023-10-07 Thread Ilija Tovilo
Hi Tim > On 10/6/23 15:44, Ilija Tovilo wrote: > > https://wiki.php.net/rfc/rfc1867-non-post > > > > Regarding the cleanup of the files, perhaps the files could be read into > a `php://temp` stream > (https://www.php.net/manual/en/wrappers.php.php#wrappers.php.memory)? > > While this would cause t