title: php websocket at BINANCE FUTURES does not work
body: <p>I'm having trouble connecting to binance futures' websocket server in php.</p>
  <p>In the example below in BINANCE SPOT it works:</p>
  <pre><code>&lt;?php
  $sock = stream_socket_client(&quot;tls://stream.binance.com:9443&quot;,$error,$errnum,30,STREAM_CLIENT_CONNECT,stream_context_create(null));
  if (!$sock) {
      echo &quot;[$errnum] $error&quot; . PHP_EOL;
  } else {
    echo 'Conected!';
  } 
  </code></pre>
  <p>But in the example below in BINANCE FUTURES it doesn't work. Does not connect to server.</p>
  <pre><code>&lt;?php
  $sock = stream_socket_client(&quot;tls://fstream.binance.com&quot;,$error,$errnum,30,STREAM_CLIENT_CONNECT,stream_context_create(null));
  if (!$sock) {
      echo &quot;[$errnum] $error&quot; . PHP_EOL;
  } else {
    echo 'Conected!';
  }
  </code></pre>
  <p>The error message reported is this:</p>
  <p>PHP Warning:  stream_socket_client(): unable to connect to tls://fstream.binance.com (Failed to parse address &quot;fstream.binance.com&quot;) in D:\p_local\atual\ws\wsf.php on line 2</p>
  <p>Does anyone know why the second option doesn't work?</p>
  <p>link to futures binance websockets documentation: <a href="https://binance-docs.github.io/apidocs/futures/en/#websocket-market-streams" rel="nofollow noreferrer">https://binance-docs.github.io/apidocs/futures/en/#websocket-market-streams</a></p>
  <p>*I'm using native php server in command line in windows environment.
  Thanks in advance.</p>