[php-src] master: Merge branch 'PHP-8.6'

From: Date: Wed, 18 Nov 2026 09:32:29 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143823@lists.php.net to get a copy of this message
Author: Máté Kocsis (kocsismate) Date: 2026-11-18T10:32:04+01:00 Commit: https://github.com/php/php-src/commit/02298f267ce7852b482c7cf687239a9a51dc2d1e Raw diff: https://github.com/php/php-src/commit/02298f267ce7852b482c7cf687239a9a51dc2d1e.diff Merge branch 'PHP-8.6' * PHP-8.6: gen_stub: fix null, true and false default values in method synopses (#25535) Changed paths: M build/gen_stub.php Diff: diff --git a/build/gen_stub.php b/build/gen_stub.php index edcb58710d67..137552977f59 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -825,7 +825,7 @@ private function getDefaultValueAsArginfoString(): string { public function getDefaultValueAsMethodSynopsisString(): ?string { return match ($this->defaultValue) { 'UNKNOWN' => null, - 'false' | 'true' | 'null' => "&{$this->defaultValue};", + 'false', 'true', 'null' => "&{$this->defaultValue};", default => $this->defaultValue, }; }

« previous php.cvs (#143823) next »