Undefined index error (#95)
parent
44445e3af4
commit
494b3a2745
|
@ -19,7 +19,7 @@ ErrorHandler::register();
|
|||
|
||||
cli_set_process_title('PHP Language Server');
|
||||
|
||||
if ($options['tcp']) {
|
||||
if (isset($options['tcp'])) {
|
||||
$address = $options['tcp'];
|
||||
$socket = stream_socket_client('tcp://' . $address, $errno, $errstr);
|
||||
if ($socket === false) {
|
||||
|
|
Loading…
Reference in New Issue