src/Connection/Aggregate/MasterSlaveReplication.php
private function handleInfoResponse($response)
    {
        $info = array();

        foreach (preg_split('/\r?\n/', $response) as $row) {
            if (strpos($row, ':') === false) {
                continue;
            }

            list($k, $v) = explode(':', $row, 2);
            $info[$k] = $v;
        }

        return $info;
    }
private function handleInfoResponse($response)
    {
        $info = array();

        foreach (preg_split('/\r?\n/', $response) as $row) {
            if (strpos($row, ':') === false) {
                continue;
            }

            list($k, $v) = explode(':', $row, 2);
            $info[$k] = $v;
        }

        return $info;
    }
private function handleInfoResponse ( $ response ) { $ info = array ( ) ; foreach ( preg_split ( '/\r?\n/' , $ response ) as $ row ) { if ( strpos ( $ row , ':' ) === false ) { continue ; } list ( $ k , $ v ) = explode ( ':' , $ row , 2 ) ; $ info [ $ k ] = $ v ; } return $ info ; }
Handles response from INFO.

@param string $response

@return array
Handles response from INFO .