Skip to content

Commit d9d21b2

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2 parents cf91b16 + 02b8362 commit d9d21b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/zlib/tests/bug_52944.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Bug #52944 (segfault with zlib filter and corrupted data)
33
--SKIPIF--
44
<?php if (!extension_loaded("zlib")) print "skip"; ?>
5+
<?php
6+
include "func.inc";
7+
if (substr(PHP_OS, 0, 3) == 'WIN' && version_compare(get_zlib_version(), '1.2.7') < 0) {
8+
die('skip - only for zlib >= 1.2.7 on windows');
9+
}
510
--INI--
611
allow_url_fopen=1
712
--FILE--

0 commit comments

Comments
 (0)