[PHP-CVS] [php-src] master: tests/GHSA-x692-q9x7-8c3f.phpt: Add extensions required (#23408)

[email protected] (laokz via GitHub)
Newsgroups php.cvs
Message-ID <[email protected]>
Author: laokz (laokz)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-08-22T14:07:18+01:00

Commit: https://github.com/php/php-src/commit/3855c7c1431ed6fe44b74b7383135a84add6fe65
Raw diff: https://github.com/php/php-src/commit/3855c7c1431ed6fe44b74b7383135a84add6fe65.diff

tests/GHSA-x692-q9x7-8c3f.phpt:  Add extensions required (#23408)

bccomp() is in bcmath extension. Add the requires to avoid test failure if bcmath extension not configured.

Signed-off-by: Kai Zhang <[email protected]>

Changed paths:
  M  ext/bcmath/tests/GHSA-x692-q9x7-8c3f.phpt


Diff:

diff --git a/ext/bcmath/tests/GHSA-x692-q9x7-8c3f.phpt b/ext/bcmath/tests/GHSA-x692-q9x7-8c3f.phpt
index b735958bd07a..d544ad949bbe 100644
--- a/ext/bcmath/tests/GHSA-x692-q9x7-8c3f.phpt
+++ b/ext/bcmath/tests/GHSA-x692-q9x7-8c3f.phpt
@@ -1,5 +1,7 @@
 --TEST--
 GHSA-x692-q9x7-8c3f: bccomp() out-of-bounds write
+--EXTENSIONS--
+bcmath
 --CREDITS--
 Recep Asan (recepasan)
 --FILE--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.