[doc-en] master: DOM: Dom\DtdNamedNodeMap index limit is INT_MAX, not PHP_INT_MAX (PHP 8.6) (#6087)

From: Date: Sun, 15 Nov 2026 15:29:21 +0000
Subject: [doc-en] master: DOM: Dom\DtdNamedNodeMap index limit is INT_MAX, not PHP_INT_MAX (PHP 8.6) (#6087)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23958@lists.php.net to get a copy of this message
Author: KentarouTakeda (KentarouTakeda) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-15T16:29:18+01:00 Commit: https://github.com/php/doc-en/commit/61de4ec5bde11facdd888af5e60e32b4bbd34c60 Raw diff: https://github.com/php/doc-en/commit/61de4ec5bde11facdd888af5e60e32b4bbd34c60.diff DOM: Dom\DtdNamedNodeMap index limit is INT_MAX, not PHP_INT_MAX (PHP 8.6) (#6087) Changed paths: M appendices/migration86/incompatible.xml Diff: diff --git a/appendices/migration86/incompatible.xml b/appendices/migration86/incompatible.xml index a1e68ea28299..16a40911fbcb 100644 --- a/appendices/migration86/incompatible.xml +++ b/appendices/migration86/incompatible.xml @@ -297,7 +297,7 @@ var_dump(unpack('s<value', "\x01\x00")); Array access on <classname>Dom\DtdNamedNodeMap</classname> objects now returns &null; for negative integer indexes instead of returning the first node, and raises a <exceptionname>ValueError</exceptionname> when the - integer index is greater than <constant>PHP_INT_MAX</constant> instead of + integer index is greater than <literal>INT_MAX</literal> instead of overflowing to a smaller index. </simpara>

« previous php.doc.cvs (#23958) next »