Skip to content

Commit 9871a62

Browse files
committed
Clean up some more function_exists() checks
1 parent 892421c commit 9871a62

File tree

7 files changed

+5
-32
lines changed

7 files changed

+5
-32
lines changed

ext/xmlwriter/tests/005-mb.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
XMLWriter: libxml2 XML Writer, comments
33
--EXTENSIONS--
44
xmlwriter
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
8-
?>
95
--FILE--
106
<?php
117

ext/xmlwriter/tests/005.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
XMLWriter: libxml2 XML Writer, comments
33
--EXTENSIONS--
44
xmlwriter
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
8-
?>
95
--FILE--
106
<?php
117

ext/xmlwriter/tests/009.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
XMLWriter: PI, Comment, CDATA
33
--EXTENSIONS--
44
xmlwriter
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
8-
?>
95
--FILE--
106
<?php
117
/*

ext/xmlwriter/tests/OO_005.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
XMLWriter: libxml2 XML Writer, comments
33
--EXTENSIONS--
44
xmlwriter
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
8-
?>
95
--FILE--
106
<?php
117

ext/zlib/tests/gzencode_variation1-win32.phpt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,12 @@ Test gzencode() function : variation
44
zlib
55
--SKIPIF--
66
<?php
7-
8-
if( substr(PHP_OS, 0, 3) != "WIN" ) {
7+
if (substr(PHP_OS, 0, 3) != "WIN") {
98
die("skip only for Windows");
109
}
11-
12-
1310
?>
1411
--FILE--
1512
<?php
16-
if(!function_exists("gzdecode")) {
17-
function gzdecode($data)
18-
{
19-
return gzinflate(substr($data,10,-8));
20-
}
21-
}
22-
2313

2414
include(__DIR__ . '/data.inc');
2515

sapi/fpm/tests/reload-uses-sigkill-as-last-measure.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
If SIGQUIT and SIGTERM during reloading fail, SIGKILL should be sent
3+
--EXTENSIONS--
4+
pcntl
35
--SKIPIF--
46
<?php
57
include "skipif.inc";

tests/basic/req44164.phpt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
--TEST--
22
Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
3-
--SKIPIF--
4-
<?php
5-
if (!function_exists('gzdeflate'))
6-
die("skip zlib extension required");
7-
?>
3+
--EXTENSIONS--
4+
zlib
85
--INI--
96
zlib.output_compression=On
107
--ENV--

0 commit comments

Comments
 (0)