[doc-en] master: Phar: Phar::mungServer() throws PharException, not ValueError (PHP 8.6) (#6088)

From: Date: Sun, 15 Nov 2026 15:24:57 +0000
Subject: [doc-en] master: Phar: Phar::mungServer() throws PharException, not ValueError (PHP 8.6) (#6088)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23957@lists.php.net to get a copy of this message
Author: KentarouTakeda (KentarouTakeda) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-15T16:24:54+01:00 Commit: https://github.com/php/doc-en/commit/a88d7df468d6952831b7df4ba425f323e315b992 Raw diff: https://github.com/php/doc-en/commit/a88d7df468d6952831b7df4ba425f323e315b992.diff Phar: Phar::mungServer() throws PharException, not ValueError (PHP 8.6) (#6088) Changed paths: M appendices/migration86/incompatible.xml Diff: diff --git a/appendices/migration86/incompatible.xml b/appendices/migration86/incompatible.xml index 27913441f704..a1e68ea28299 100644 --- a/appendices/migration86/incompatible.xml +++ b/appendices/migration86/incompatible.xml @@ -523,8 +523,10 @@ var_dump(unpack('s<value', "\x01\x00")); <simpara> <methodname>Phar::mungServer</methodname> now raises a - <exceptionname>ValueError</exceptionname> when an invalid argument value - is passed instead of being silently ignored. + <exceptionname>PharException</exceptionname> when the array contains a + string other than <literal>REQUEST_URI</literal>, <literal>PHP_SELF</literal>, + <literal>SCRIPT_NAME</literal>, or <literal>SCRIPT_FILENAME</literal>, + instead of silently ignoring it. </simpara> <simpara>

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