Skip to content

Commit b577bd2

Browse files
committed
SKIPIF -> EXTENSIONS
1 parent f172bb3 commit b577bd2

File tree

2,453 files changed

+5160
-6317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,453 files changed

+5160
-6317
lines changed

Zend/tests/attributes/016_custom_attribute_validation.phpt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
--TEST--
22
Attribute validation callback of internal attributes.
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) {
6-
echo "skip requires zend_test extension\n";
7-
}
3+
--EXTENSIONS--
4+
zend_test
85
--FILE--
96
<?php
107

Zend/tests/bug34199.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #34199 (if($obj)/if(!$obj) inconsistency because of cast handler)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml = "<root></root>";

Zend/tests/bug34617.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("xml")) print "skip the xml extension not available"; ?>
3+
--EXTENSIONS--
4+
xml
55
--FILE--
66
<?php
77
class Thing {}

Zend/tests/bug39602.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #39602 (Invalid session.save_handler crashes PHP)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("session")) die("skip session extension required"); ?>
3+
--EXTENSIONS--
4+
session
55
--INI--
66
session.save_handler=qwerty
77
error_reporting=0

Zend/tests/bug43918.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #43918 (Segmentation fault in garbage collector)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xmlstr = <<<XML

Zend/tests/bug69092.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Bug #69092 (Declare Encoding Compile Check Wrong)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=On
117
--FILE--

Zend/tests/bug70914.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Bug #70914 zend_throw_or_error() format string vulnerability
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("pdo_sqlite")) {
6-
die("skip pdo_sqlite required");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
pdo_sqlite
95
--FILE--
106
<?php
117

Zend/tests/bug71428.2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
bug #71428.2: inheritance of ye olde dynamic interfaces
3-
--SKIPIF--
4-
<?php if (!extension_loaded('pdo')) die("skip PDO is not available"); ?>
3+
--EXTENSIONS--
4+
pdo
55
--FILE--
66
<?php
77
interface StatementInterface {

Zend/tests/bug71930.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Bug #71930 (_zval_dtor_func: Assertion `(arr)->gc.refcount <= 1' failed)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("curl")) {
6-
die("skip Require a resource which is able to hold a callback");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
curl
95
--FILE--
106
<?php
117

Zend/tests/bug78239.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #78239: Deprecation notice during string conversion converted to exception hangs
3-
--SKIPIF--
4-
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test extension"); ?>
3+
--EXTENSIONS--
4+
zend_test
55
--FILE--
66
<?php
77
function handleError($level, $message, $file = '', $line = 0, $context = [])

Zend/tests/bug78335_2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #78335: Static properties containing cycles report as leak (internal class variant)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test"); ?>
3+
--EXTENSIONS--
4+
zend_test
55
--FILE--
66
<?php
77

Zend/tests/bug78770.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Bug #78770: Incorrect callability check inside internal methods
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("intl")) die("skip requires intl");
6-
?>
3+
--EXTENSIONS--
4+
intl
75
--FILE--
86
<?php
97

Zend/tests/bug79919.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Bug #79919 (Stack use-after-scope in define())
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('simplexml')) die('skip simplexml extension not available');
6-
?>
3+
--EXTENSIONS--
4+
simplexml
75
--FILE--
86
<?php
97
$b = error_log(0);

Zend/tests/call_to_deprecated_function_args.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
--TEST--
22
Check that arguments are freed when calling a deprecated function
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
3+
--EXTENSIONS--
4+
zend_test
65
--FILE--
76
<?php
87

Zend/tests/const_deprecation.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Internal constant deprecation
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip requires zend_test');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97

Zend/tests/declare_001.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Testing declare statement with several type values
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires ext/mbstring");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
--FILE--

Zend/tests/declare_002.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Testing declare statement with several type values
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires ext/mbstring");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
--FILE--

Zend/tests/inherit_internal_static.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Inherit internal static property into userland class
3-
--SKIPIF--
4-
<?php if (!extension_loaded('zend_test')) die('skip requires zend_test'); ?>
3+
--EXTENSIONS--
4+
zend_test
55
--FILE--
66
<?php
77

Zend/tests/iterable_or_null.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Test Z_PARAM_ITERABLE() and Z_PARAM_ITERABLE_OR_NULL
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97

Zend/tests/multibyte/bug68665.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Crash with Big5
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
internal_encoding=big5

Zend/tests/multibyte/multibyte_encoding_001.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Zend Multibyte and ShiftJIS
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
internal_encoding=SJIS

Zend/tests/multibyte/multibyte_encoding_002.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
Zend Multibyte and UTF-8 BOM
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
internal_encoding=iso-8859-1
-78 Bytes
Binary file not shown.

Zend/tests/multibyte/multibyte_encoding_004.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
zend.script_encoding=Shift_JIS

Zend/tests/multibyte/multibyte_encoding_005.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
encoding conversion from script encoding into internal encoding
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
mbstring.encoding_translation = On

Zend/tests/ns_086.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
--TEST--
22
086: bracketed namespace with encoding
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("mbstring")) {
6-
die("skip Requires mbstring extension");
7-
}
8-
?>
3+
--EXTENSIONS--
4+
mbstring
95
--INI--
106
zend.multibyte=1
117
--FILE--

Zend/tests/overloaded_func_001.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Overloaded function 001
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97
$o = new _ZendTestChildClass();

Zend/tests/overloaded_func_002.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Overloaded function 002
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97
$a = new _ZendTestClass();

Zend/tests/return_types/internal_functions001.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--TEST--
22
Return type for internal functions
3+
--EXTENSIONS--
4+
zend_test
35
--SKIPIF--
46
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
67
// Internal function return types are only checked in debug builds
78
if (!PHP_DEBUG) die('skip requires debug build');
89
?>

Zend/tests/return_types/internal_functions002.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
--TEST--
22
Return type for internal functions 2
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
3+
--EXTENSIONS--
4+
zend_test
65
--FILE--
76
<?php
87
zend_test_nullable_array_return();

Zend/tests/return_types/internal_functions003.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
--TEST--
22
Return type for internal functions 3: Void return type
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
3+
--EXTENSIONS--
4+
zend_test
65
--FILE--
76
<?php
87
var_dump(zend_test_void_return());

Zend/tests/str_or_obj_of_class_zpp.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Test Z_PARAM_OBJ_OF_CLASS_OR_STR() and Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97

Zend/tests/str_or_obj_zpp.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
Test Z_PARAM_OBJ_OR_STR() and Z_PARAM_OBJ_OR_STR_OR_NULL
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
6-
?>
3+
--EXTENSIONS--
4+
zend_test
75
--FILE--
86
<?php
97

Zend/tests/temporary_cleaning_014.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Leak in JMP_SET
3-
--SKIPIF--
4-
<?php if (!extension_loaded("gmp")) print "skip"; ?>
3+
--EXTENSIONS--
4+
gmp
55
--FILE--
66
<?php
77
set_error_handler(function() { throw new Exception; });

0 commit comments

Comments
 (0)