1--TEST--
2SolrClient::getOptions - Returning all the default options
3--FILE--
4<?php
5
6$options = array('secure' => false);
7
8$client = new SolrClient($options);
9
10var_dump($client->getOptions());
11
12?>
13--EXPECTF--
14array(17) {
15  ["timeout"]=>
16  int(30)
17  ["secure"]=>
18  bool(false)
19  ["hostname"]=>
20  string(9) "localhost"
21  ["wt"]=>
22  string(3) "xml"
23  ["port"]=>
24  int(8983)
25  ["proxy_host"]=>
26  string(0) ""
27  ["proxy_port"]=>
28  int(0)
29  ["path"]=>
30  string(4) "solr"
31  ["http_auth"]=>
32  string(0) ""
33  ["proxy_auth"]=>
34  string(0) ""
35  ["ssl_verify_peer"]=>
36  bool(false)
37  ["ssl_verify_host"]=>
38  int(2)
39  ["ssl_cert"]=>
40  string(0) ""
41  ["ssl_key"]=>
42  string(0) ""
43  ["ssl_keypassword"]=>
44  string(0) ""
45  ["ssl_cainfo"]=>
46  string(0) ""
47  ["ssl_capath"]=>
48  string(0) ""
49}
50