mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
11 lines
271 B
PHP
11 lines
271 B
PHP
<?php
|
|
// This script prints "skip" if condition does not meet.
|
|
|
|
if (!extension_loaded("openssl") && ini_get("enable_dl")) {
|
|
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
|
@dl("openssl$dlext");
|
|
}
|
|
if (!extension_loaded("openssl")) {
|
|
die("skip\n");
|
|
}
|
|
?>
|