php-src/ext/openssl/tests/openssl_get_cert_locations_basic.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

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) ""
}