title: How to get URL param with PHP websocket?
body: <p>I created a PHP websocket server and for each client connection I need to send some URL paramaters with it.</p>
  
  <p>The problem is I can't grab those $_GET parameters in the PHP websocket server script.</p>
  
  <p>This is what I do in javascript to make a websocket connection, and in PHP i need the value of param, but var_dump($_REQUEST) is empty.</p>
  
  <pre><code>socket = new WebSocket('ws://localhost:9000/?param=1');
  </code></pre>