Fix Windows SKIPIF (#14219)

PHP_OS_FAMILY never has the value WIN, for Windows platforms it is the
string "Windows". As such, this test was never executed. Fix this.
This commit is contained in:
Niels Dossche 2024-05-13 22:09:47 +02:00 committed by GitHub
parent fa7933ef17
commit 719fa46150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
Bug #38579 (include_once() may include the same file twice)
--SKIPIF--
<?php
if(PHP_OS_FAMILY !== "WIN") {
if(PHP_OS_FAMILY !== "Windows") {
die('skip only for Windows');
}
?>