mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
fclose() might be needed
This commit is contained in:
parent
87365b0149
commit
b27f71ca58
@ -8,6 +8,8 @@ if (!getenv('PHP_PEAR_RUNTESTS')) {
|
||||
$fp = @fsockopen('pear.php.net', 80);
|
||||
if (!$fp) {
|
||||
echo 'skip';
|
||||
} else {
|
||||
fclose($fp);
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
|
Loading…
Reference in New Issue
Block a user