mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fixed skipif to really skip
This commit is contained in:
parent
bf75124011
commit
dd3d739cc6
1 changed files with 5 additions and 0 deletions
|
@ -4,11 +4,15 @@ PEAR_Dependency::checkExtension() test
|
||||||
<?php
|
<?php
|
||||||
if (!getenv('PHP_PEAR_RUNTESTS')) {
|
if (!getenv('PHP_PEAR_RUNTESTS')) {
|
||||||
echo 'skip';
|
echo 'skip';
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
if (!ini_get('enable_dl') || ini_get('safe_mode')) {
|
if (!ini_get('enable_dl') || ini_get('safe_mode')) {
|
||||||
echo 'skip';
|
echo 'skip';
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_once 'System.php';
|
||||||
|
|
||||||
$dir = ini_get('extension_dir');
|
$dir = ini_get('extension_dir');
|
||||||
if (OS_WINDOWS) {
|
if (OS_WINDOWS) {
|
||||||
$suffix = '.dll';
|
$suffix = '.dll';
|
||||||
|
@ -50,6 +54,7 @@ foreach ($extensions as $ext) {
|
||||||
}
|
}
|
||||||
if (!$notloaded || !$loaded) {
|
if (!$notloaded || !$loaded) {
|
||||||
echo 'skip';
|
echo 'skip';
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue