commit bd484ed65f85cdced12deb65638af2caaa7b0b33
Author: Calvin Buckley <calvinb@php.net>
Date: Wed Dec 31 13:04:09 2025 -0400
Fix skipif for mkfifo usage in gh20582.phpt (#20804)
Makes it like ext/standard/tests/file/filetype_variation.phpt; it's not
just Windows that can have a missing posix_mkfifo, but also a minimal
build, like the ones suggested that RMs test with (using --disable-all).
diff --git a/ext/standard/tests/image/gh20582.phpt b/ext/standard/tests/image/gh20582.phpt
index 63561534b2f..499f70e3726 100644
--- a/ext/standard/tests/image/gh20582.phpt
+++ b/ext/standard/tests/image/gh20582.phpt
@@ -5,7 +5,9 @@
ndossche
--SKIPIF--
<?php
-if (PHP_OS_FAMILY === "Windows") die("skip Only for platforms with FIFO pipes");
+if (!function_exists("posix_mkfifo")) {
+ die("skip no posix_mkfifo()");
+}
?>
--FILE--
<?php