You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a longstanding one (sorry for the php-dom day!). Sometimes the same code from #11288 causes crash on every 8.x PHP version. The code is the same, but the html markup is slightly differs.
Live reproducing: https://3v4l.org/KjJgQ // On every PHP 8.x version throws DOMException: Not Found Error, hangs for 1-15 seconds, then crashes. https://3v4l.org/FdOZR // Hangs for 1-15 seconds, crashes on every PHP versions but PHP 8.2.6 and 8.1.19.
It's kinda related to #11289 and #11288, but this is a longstanding one. I guess this is a part of a big picture, so I hope this would help to investigate the main cause of weird php-dom behavior.
Activity
fluffycondor commentedon May 22, 2023
Oh, looks like this could be a duplicate of #9142.
ndossche commentedon May 22, 2023
This one's also fixed by #11299, so I'll amend that PR to include this test. Thanks for the report & testcase!
Fix phpGH-11288 and phpGH-11289 and phpGH-11290 and phpGH-9142: DOMEx…
Fix GH-11288 and GH-11289 and GH-11290 and GH-9142: DOMExceptions and…
Merge branch 'PHP-8.1' into PHP-8.2
Merge branch 'PHP-8.2'