mirror of
https://github.com/php/php-src.git
synced 2024-10-22 16:57:05 +00:00
74749ad642
add test case. This stuff should be merged into the 4.2 branch.
12 lines
271 B
PHP
12 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");
|
|
}
|
|
?>
|