WyriHaximus · GitHub

@WyriHaximus

@WyriHaximus

clue

$data .= "Content-type: text/plain\r\n";
$data .= "\r\n";
$data .= "world\r\n";
$data .= str_repeat('world', 1024) . "\r\n";
}

$this->sizeLimit = $sizeLimit;
$this->sizeLimit = IniUtil::iniSizeToBytes($sizeLimit);
}

$this->uploadMaxFilesize = (int)$uploadMaxFilesize;
$this->uploadMaxFilesize = IniUtil::iniSizeToBytes($uploadMaxFilesize);

andig

'GET',
'https://example.com/',
array(),
new HttpBodyStream($stream, 2)

clue


/**
* @param int|null $uploadMaxFilesize
* @param int|string|null $uploadMaxFilesize
'GET',
'https://example.com/',
array(),
new HttpBodyStream($stream, 2)

jsor

* configuration. (Note that the value from
* the CLI configuration will be used.)
* @param int|string|null $sizeLimit Either an int with the max request body size
* or an ini like sze string
* or null to use post_max_size from PHP's
* configuration. (Note that the value from
* the CLI configuration will be used.)
* @param int|string|null $sizeLimit Either an int with the max request body size
…Parser

@WyriHaximus

jsor

jsor approved these changes Dec 12, 2017

clue

clue approved these changes Dec 12, 2017

@clue

Read the original on github.com ↗