mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
29 lines
540 B
PHP
29 lines
540 B
PHP
--TEST--
|
|
openssl_get_cert_locations() tests
|
|
--EXTENSIONS--
|
|
openssl
|
|
--FILE--
|
|
<?php
|
|
// openssl locations differ per distro.
|
|
var_dump(openssl_get_cert_locations());
|
|
?>
|
|
--EXPECTF--
|
|
array(8) {
|
|
["default_cert_file"]=>
|
|
string(%d) "%s"
|
|
["default_cert_file_env"]=>
|
|
string(%d) "%s"
|
|
["default_cert_dir"]=>
|
|
string(%d) "%s"
|
|
["default_cert_dir_env"]=>
|
|
string(%d) "%s"
|
|
["default_private_dir"]=>
|
|
string(%d) "%s"
|
|
["default_default_cert_area"]=>
|
|
string(%d) "%s"
|
|
["ini_cafile"]=>
|
|
string(%d) ""
|
|
["ini_capath"]=>
|
|
string(%d) ""
|
|
}
|