]> granicus.if.org Git - php/commitdiff
Remove superfluous SKIPIF sections in tests
authorGabriel Caruso <carusogabriel34@gmail.com>
Sat, 3 Feb 2018 13:47:35 +0000 (11:47 -0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 3 Feb 2018 16:50:51 +0000 (17:50 +0100)
tests/classes/autoload_013.phpt
tests/classes/autoload_014.phpt
tests/classes/autoload_015.phpt
tests/classes/autoload_016.phpt
tests/classes/autoload_017.phpt
tests/run-test/bug75042-2.phpt

index a63b1295624574f316dc84dc0c09bcafa7c2c0cc..5349a7b1f7107358cacd90c781a6f28fb398e6ee 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Ensure the ReflectionClass constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 spl_autoload_register(function ($name) {
index 3eb0484ec340343227c27392abe03fa897202936..1903c38ab82f9dfcac97efaf2651de2fb382ead7 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Ensure the ReflectionMethod constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 spl_autoload_register(function ($name) {
index edff01c91a331da3fd30d192661e8d7837e4c87d..6f9e9322ea0dd42dda21079ae13a2861ca9d9623 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Ensure the ReflectionProperty constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 spl_autoload_register(function ($name) {
index d1ff88574678215da4145fa70ea66d12225b60eb..239a770a97363520908c3ff7c32ec880bbf84ea6 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Ensure ReflectionClass::getProperty() triggers autoload
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 spl_autoload_register(function ($name) {
index 8e1aeac748b99a9fc8f0eb35b9f2c5258d4fa189..14c4c2a67787d7883417ebc89a04b8a5aaab018f 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Ensure ReflectionClass::implementsInterface triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 spl_autoload_register(function ($name) {
index 25f6d08e6161dc631133611499727c860e229dd0..2c5718a9a0211e770ea18f2313c76ab1d14d6cbc 100644 (file)
@@ -1,15 +1,10 @@
 --TEST--
 phpt EXTENSIONS directive with static module
---SKIPIF--
-<?php
-$php = getenv('TEST_PHP_EXECUTABLE');
-if (false === stripos(`$php -n -m`, 'spl')) {
-       die('skip spl is NOT built static');
-}
 --EXTENSIONS--
 SPL
 --FILE--
 <?php
 var_dump(extension_loaded('spl'));
+?>
 --EXPECT--
 bool(true)