1diff --git a/ext/zlib/tests/bug55544.phpt b/ext/zlib/tests/bug55544.phpt
2index a0d22f4fcebf4846da6781f424f87821626de5ea..e650fe6909f555d04834f4c08f7fd0d354b783e2 100644
3--- a/ext/zlib/tests/bug55544.phpt
4+++ b/ext/zlib/tests/bug55544.phpt
5@@ -6,6 +6,9 @@ extension_loaded("zlib") or die("skip");
6 if (substr(PHP_OS, 0, 3) == 'WIN') {
7 die("skip not for windows");
8 }
9+if (PHP_OS == "Darwin") {
10+ die("skip not for darwin");
11+}
12 ?>
13 --INI--
14 output_handler=ob_gzhandler
15diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt
16index c966b2cbc5b7..2f953168fa22 100644
17--- a/ext/zlib/tests/gzencode_variation1.phpt
18+++ b/ext/zlib/tests/gzencode_variation1.phpt
19@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
20 if (!extension_loaded("zlib")) {
21 print "skip - ZLIB extension not loaded";
22 }
23+
24+if (PHP_OS == "Darwin") {
25+ print "skip - OS is encoded in headers, tested header is non Darwin";
26+}
27 ?>
28 --FILE--
29 <?php
30diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
31index 94ac42a5f1cd..9160cf519751 100644
32--- a/ext/zlib/tests/gzencode_variation2.phpt
33+++ b/ext/zlib/tests/gzencode_variation2.phpt
34@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
35 if (!extension_loaded("zlib")) {
36 print "skip - ZLIB extension not loaded";
37 }
38+
39+if (PHP_OS == "Darwin") {
40+ print "skip - OS is encoded in headers, tested header is non Darwin";
41+}
42 ?>
43 --FILE--
44 <?php