veewee/xml

Investigate spec compliance (PHP 84)

veewee opened this issue · 0 comments

Feature Request

More info:

WIP: Extended DOM

Additional new PHP 84 RFCs:

Branch php/php-src#13031

./buildconf --force
make clean
./configure --without-iconv --enable-mbstring --disable-opcache --with-xsl --with-zlib
make -j4
./sapi/cli/php -v

Investigation

General idea : create v4 (or higher) that requries PHP 8.4 and make the DOM layer spec compliant.
Downside : this drops support for all older PHP versions which will be annoying.
Both v3 and v4 could remain LTS branches that are compatible in functionality.
However, this would be a maintainence pain for at least for the coming 3-4 year.
It won't be possible to support both v3 and v4 in downstream repo's either, since the signatures of the callbacks will be different.

First steps

  •  POC : Try to get current DOM layer working with the new spec-compliant version.