mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Remove superfluous SKIPIF sections in tests
This commit is contained in:
parent
766ce8bdd5
commit
36d8bf5294
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user