Skip to content

Commit 710f398

Browse files
committed
Skip invalid file descriptor test on Mac
1 parent 108d1e9 commit 710f398

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/standard/tests/file/php_fd_wrapper_04.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
php://fd wrapper: invalid file descriptor
3+
--SKIPIF--
4+
<?php
5+
// At least on Mac 10.14 Mojave; not sure about older versions
6+
if (strtolower(PHP_OS) == 'darwin') die('skip: the warning output is different on MacOS');
7+
?>
38
--FILE--
49
<?php
510
fopen("php://fd/1023", "w");

0 commit comments

Comments
 (0)