Skip to content

Undefined variable '$fwrite' #134

@horaciocastro7

Description

@horaciocastro7
protected function _fwrite($buffer)
{
    $buffer_length = strlen($buffer);
    for ($written = 0; $written < $buffer_length; $written += $fwrite) {
        $fwrite = fwrite($this->socket, substr($buffer, $written));
        if ($fwrite === false) {
            return false;
        }
    }
    return $buffer_length;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions