I'm looking at the source of a web sockets server and I see these various forms:

  "ws://{$host}{$path}"
  "HTTP/1.1 ${status}\r\n"

Are these simply equivalent to:

  "ws://" . $host . $path
  "HTTP/1.1 " . $status . "\r\n";

and if so, is there any particular benefit to using that form? Or if not, what 
do they mean?

(I've read up about variable variables).

Thanks,

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to