# [RFC] [Discussion] XML_OPTION_PARSE_HUGE

- Thread: https://externals.io/message/121121
- Original archive: https://news-web.php.net/php.internals/121121
- Started by Niels Dossche on 2023-09-21T21:26:33+00:00
- Messages: 6
- RFC: XML_OPTION_PARSE_HUGE (Implemented (PHP 8.4)) — https://externals.io/rfc/xml_option_parse_huge.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #121121 — Niels Dossche — 2023-09-21T21:26:33+00:00

URL: https://externals.io/message/121121#121121

Hi internals

I'd like to put a new RFC under discussion:
https://wiki.php.net/rfc/xml_option_parse_huge

Kind regards
Niels

---

## #121122 — Larry Garfield — 2023-09-21T23:05:29+00:00

URL: https://externals.io/message/121121#121122 · In reply to: #121121

> Hi internals
>
> I'd like to put a new RFC under discussion:
> https://wiki.php.net/rfc/xml_option_parse_huge
>
> Kind regards
> Niels

Seems reasonable to me at first glance.  Some code samples in the RFC showing usage would help.  It would also help to know what the actual definition of huge is right now; just referencing a header file in some other library doesn't help me. :-)

--Larry Garfield

---

## #121123 — Aleksander Machniak — 2023-09-22T05:51:23+00:00

URL: https://externals.io/message/121121#121123 · In reply to: #121121

> I'd like to put a new RFC under discussion:
> https://wiki.php.net/rfc/xml_option_parse_huge

Looking at `LIBXML_PARSEHUGE` at 
https://www.php.net/manual/en/libxml.constants.php

- there's discrepancy regarding the libxml version the feature was 
introduced in,
- maybe existence of this constant should be mentioned in the RFC.

-- 
Aleksander Machniak
Kolab Groupware Developer        [https://kolab.org]
Roundcube Webmail Developer  [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

---

## #121126 — Niels Dossche — 2023-09-22T07:09:35+00:00

URL: https://externals.io/message/121121#121126 · In reply to: #121123

Hi Aleksander


> 
> > […]
> 
> Looking at `LIBXML_PARSEHUGE` at https://www.php.net/manual/en/libxml.constants.php
> 
> - there's discrepancy regarding the libxml version the feature was introduced in,

I'll fix this, it should indeed be 2.7.0.

> - maybe existence of this constant should be mentioned in the RFC.
> 

Agreed, I'll add this.

Thanks for noticing these.

Cheers
Niels

---

## #121127 — Niels Dossche — 2023-09-22T07:09:58+00:00

URL: https://externals.io/message/121121#121127 · In reply to: #121122

Hi Larry


> 
> > […]
> 
> Seems reasonable to me at first glance.  Some code samples in the RFC showing usage would help.  It would also help to know what the actual definition of huge is right now; just referencing a header file in some other library doesn't help me. :-)

Will do both, thanks.

> 
> --Larry Garfield
> 

Kind regards
Niels

---

## #121257 — Niels Dossche — 2023-10-06T21:37:03+00:00

URL: https://externals.io/message/121121#121257 · In reply to: #121121

> Hi internals
> 
> I'd like to put a new RFC under discussion:
> https://wiki.php.net/rfc/xml_option_parse_huge
> 
> Kind regards
> Niels

Hi internals

It's been two weeks, I'd like to start the vote tomorrow evening.
Please raise any last complaints now.

Thanks
Niels
