1--TEST--
2ssl_method option is deprecated
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7
8new SoapClient(null, [
9    'location' => 'foo',
10    'uri' => 'bar',
11    'ssl_method' => SOAP_SSL_METHOD_TLS,
12]);
13
14?>
15--EXPECTF--
16Deprecated: SoapClient::__construct(): The "ssl_method" option is deprecated. Use "ssl" stream context options instead in %s on line %d
17