private static function nibbleLine(&$content, $eol = "\r\n")
    {
        $line = substr($content, 0, strpos($content, $eol));
        $content = substr($content, strlen($line)+2);
        return $line;
    }
private static function nibbleLine(&$content, $eol = "\r\n")
    {
        $line = substr($content, 0, strpos($content, $eol));
        $content = substr($content, strlen($line)+2);
        return $line;
    }
private static function nibbleLine ( & $ content , $ eol = "\r\n" ) { $ line = substr ( $ content , 0 , strpos ( $ content , $ eol ) ) ; $ content = substr ( $ content , strlen ( $ line ) + 2 ) ; return $ line ; }
Read a line inside a string, remove the read line from the string and return the line
@param string $content
@param string $eol
@return string
Read a line inside a string remove the read line from the string and return the line