Skip to content

Commit 8e0dbf8

Browse files
committed
change to long array syntax
1 parent c169e58 commit 8e0dbf8

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

remoting_client/examples/dns_naptr_add.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
require 'soap_config.php';
44

5-
$context = stream_context_create([
6-
'ssl' => [
5+
$context = stream_context_create( array(
6+
'ssl' => array(
77
// set some SSL/TLS specific options
88
'verify_peer' => false,
99
'verify_peer_name' => false,
1010
'allow_self_signed' => true
11-
]
12-
]);
11+
),
12+
));
1313

1414

1515
$client = new SoapClient(null, array('location' => $soap_location,

remoting_client/examples/dns_naptr_delete.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
require 'soap_config.php';
44

5-
$context = stream_context_create([
6-
'ssl' => [
5+
$context = stream_context_create( array(
6+
'ssl' => array(
77
// set some SSL/TLS specific options
88
'verify_peer' => false,
99
'verify_peer_name' => false,
1010
'allow_self_signed' => true
11-
]
12-
]);
11+
),
12+
));
1313

1414

1515
$client = new SoapClient(null, array('location' => $soap_location,

remoting_client/examples/dns_naptr_get.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
require 'soap_config.php';
44

55

6-
$context = stream_context_create([
7-
'ssl' => [
6+
$context = stream_context_create( array(
7+
'ssl' => array(
88
// set some SSL/TLS specific options
99
'verify_peer' => false,
1010
'verify_peer_name' => false,
1111
'allow_self_signed' => true
12-
]
13-
]);
12+
),
13+
));
1414

1515

1616
$client = new SoapClient(null, array('location' => $soap_location,

remoting_client/examples/dns_naptr_update.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
require 'soap_config.php';
44

55

6-
$context = stream_context_create([
7-
'ssl' => [
6+
$context = stream_context_create( array(
7+
'ssl' => array(
88
// set some SSL/TLS specific options
99
'verify_peer' => false,
1010
'verify_peer_name' => false,
1111
'allow_self_signed' => true
12-
]
13-
]);
12+
),
13+
));
1414

1515

1616
$client = new SoapClient(null, array('location' => $soap_location,

0 commit comments

Comments
 (0)