src/Command/ServerClient.php
protected function parseClientList($data)
    {
        $clients = array();

        foreach (explode("\n", $data, -1) as $clientData) {
            $client = array();

            foreach (explode(' ', $clientData) as $kv) {
                @list($k, $v) = explode('=', $kv);
                $client[$k] = $v;
            }

            $clients[] = $client;
        }

        return $clients;
    }
protected function parseClientList($data)
    {
        $clients = array();

        foreach (explode("\n", $data, -1) as $clientData) {
            $client = array();

            foreach (explode(' ', $clientData) as $kv) {
                @list($k, $v) = explode('=', $kv);
                $client[$k] = $v;
            }

            $clients[] = $client;
        }

        return $clients;
    }
protected function parseClientList ( $ data ) { $ clients = array ( ) ; foreach ( explode ( "\n" , $ data , - 1 ) as $ clientData ) { $ client = array ( ) ; foreach ( explode ( ' ' , $ clientData ) as $ kv ) { @ list ( $ k , $ v ) = explode ( '=' , $ kv ) ; $ client [ $ k ] = $ v ; } $ clients [ ] = $ client ; } return $ clients ; }
Parses the response to CLIENT LIST and returns a structured list.

@param string $data Response buffer.

@return array
Parses the response to CLIENT LIST and returns a structured list .