Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get string length
strlen(string $string): int
        ['method' => $method'statusCode' => $statusCode] = $request;



        
$dots str_repeat('.'max($terminalWidth strlen($method.$url.$duration.$memory) - 160));



        if (empty(
$dots) && ! $this->output->isVerbose()) {

            
$url substr($url0$terminalWidth strlen($method.$duration.$memory) - 15 3).'...';
        $dots str_repeat('.'max($terminalWidth strlen($method.$url.$duration.$memory) - 160));



        if (empty(
$dots) && ! $this->output->isVerbose()) {

            
$url substr($url0$terminalWidth strlen($method.$duration.$memory) - 15 3).'...';

        } else {

            
$dots .= ' ';

        }
        );



        if (isset(
$results['REQUEST_URI'], $results['QUERY_STRING']) &&

            
strlen($results['QUERY_STRING']) > &&

            
strpos($results['REQUEST_URI'], '?') === false) {

            
$results['REQUEST_URI'] .= '?'.$results['QUERY_STRING'];

        }
        if ($octaneResponse->response instanceof StreamedResponse) {

            
ob_start(function ($data) use ($swooleResponse) {

                if (
strlen($data) > 0) {

                    
$swooleResponse->write($data);

                }
        $content $octaneResponse->response->getContent();



        if ((
$length strlen($content)) === 0) {

            
$swooleResponse->end();



            return;