1--TEST--
2openssl_get_cert_locations() tests
3--SKIPIF--
4<?php if (!extension_loaded("openssl")) print "skip"; ?>
5--FILE--
6<?php
7// openssl locations differ per distro.
8var_dump(openssl_get_cert_locations());
9?>
10--EXPECTF--
11array(8) {
12  ["default_cert_file"]=>
13  string(%d) "%s"
14  ["default_cert_file_env"]=>
15  string(%d) "%s"
16  ["default_cert_dir"]=>
17  string(%d) "%s"
18  ["default_cert_dir_env"]=>
19  string(%d) "%s"
20  ["default_private_dir"]=>
21  string(%d) "%s"
22  ["default_default_cert_area"]=>
23  string(%d) "%s"
24  ["ini_cafile"]=>
25  string(%d) ""
26  ["ini_capath"]=>
27  string(%d) ""
28}
29