Skip to content

Commit 719fa46

Browse files
authored
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.
1 parent fa7933e commit 719fa46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lang/bug38579.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Bug #38579 (include_once() may include the same file twice)
33
--SKIPIF--
44
<?php
5-
if(PHP_OS_FAMILY !== "WIN") {
5+
if(PHP_OS_FAMILY !== "Windows") {
66
die('skip only for Windows');
77
}
88
?>

0 commit comments

Comments
 (0)