Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find lowest value
<?php min(mixed $value, mixed ...$values): mixed
<?php         $this->rfs = new RemoteFilesystem($io, $config, $options, $disableTls);



        if (is_numeric($maxJobs = Platform::getEnv('COMPOSER_MAX_PARALLEL_HTTP'))) {

            $this->maxJobs = max(1, min(50, (int) $maxJobs));

        }

    }
<?php             case STREAM_NOTIFY_PROGRESS:

                if ($this->bytesMax > 0 && $this->progress) {

                    $progression = min(100, (int) round($bytesTransferred / $this->bytesMax * 100));



                    if ((0 === $progression % 5) && 100 !== $progression && $progression !== $this->lastProgress) {

                        $this->lastProgress = $progression;
<?php                     } else {

                        $this->fail(

                            'Failed to match pattern '.$regex.' at line '.$line.' / abs offset '.$i.': '

                            .substr($output, $j, min(strpos($output, "\n", $j) - $j, 100)).PHP_EOL.PHP_EOL.

                            'Output:'.PHP_EOL.$output

                        );

                    }
<?php                 if ($expected[$i] !== $output[$j]) {

                    $this->fail(

                        'Output does not match expectation at line '.$line.' / abs offset '.$i.': '.PHP_EOL

                        .'-'.substr($expected, $i, min(strpos($expected, "\n", $i) - $i, 100)).PHP_EOL

                        .'+'.substr($output, $j, min(strpos($output, "\n", $j) - $j, 100)).PHP_EOL.PHP_EOL

                        .'Output:'.PHP_EOL.$output

                    );
<?php                     $this->fail(

                        'Output does not match expectation at line '.$line.' / abs offset '.$i.': '.PHP_EOL

                        .'-'.substr($expected, $i, min(strpos($expected, "\n", $i) - $i, 100)).PHP_EOL

                        .'+'.substr($output, $j, min(strpos($output, "\n", $j) - $j, 100)).PHP_EOL.PHP_EOL

                        .'Output:'.PHP_EOL.$output

                    );

                }