1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Clean up some more function_exists() checks

This commit is contained in:
Nikita Popov
2021-06-14 15:47:08 +02:00
parent 892421c9a8
commit 9871a624bf
7 changed files with 5 additions and 32 deletions

View File

@@ -2,10 +2,6 @@
XMLWriter: libxml2 XML Writer, comments
--EXTENSIONS--
xmlwriter
--SKIPIF--
<?php
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
?>
--FILE--
<?php

View File

@@ -2,10 +2,6 @@
XMLWriter: libxml2 XML Writer, comments
--EXTENSIONS--
xmlwriter
--SKIPIF--
<?php
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
?>
--FILE--
<?php

View File

@@ -2,10 +2,6 @@
XMLWriter: PI, Comment, CDATA
--EXTENSIONS--
xmlwriter
--SKIPIF--
<?php
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
?>
--FILE--
<?php
/*

View File

@@ -2,10 +2,6 @@
XMLWriter: libxml2 XML Writer, comments
--EXTENSIONS--
xmlwriter
--SKIPIF--
<?php
if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ required");
?>
--FILE--
<?php

View File

@@ -4,22 +4,12 @@ Test gzencode() function : variation
zlib
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) != "WIN" ) {
if (substr(PHP_OS, 0, 3) != "WIN") {
die("skip only for Windows");
}
?>
--FILE--
<?php
if(!function_exists("gzdecode")) {
function gzdecode($data)
{
return gzinflate(substr($data,10,-8));
}
}
include(__DIR__ . '/data.inc');

View File

@@ -1,5 +1,7 @@
--TEST--
If SIGQUIT and SIGTERM during reloading fail, SIGKILL should be sent
--EXTENSIONS--
pcntl
--SKIPIF--
<?php
include "skipif.inc";

View File

@@ -1,10 +1,7 @@
--TEST--
Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
--SKIPIF--
<?php
if (!function_exists('gzdeflate'))
die("skip zlib extension required");
?>
--EXTENSIONS--
zlib
--INI--
zlib.output_compression=On
--ENV--