Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return a formatted string
<?php sprintf(string $format, mixed ...$values): string
<?php             $output->startPaging();

        }



        $output->writeln(sprintf('From <info>%s:%s</info>:', $this->replaceCwd($info['file']), $lineNum));

        $output->write(CodeFormatter::formatCode($code, $startLine, $endLine, $lineNum), false);



        $output->writeln("\n".$this->e->getMessage());
<?php             return $this->macroCall($method, $params);

        }



        throw new BadMethodCallException(sprintf(

            'Method %s::%s does not exist.', static::class, $method

        ));

    }



    public function tap($callback)
<?php             ->mapWithKeys(function ($value, $key) {

                return [$key => static::escapeStringForHtml($value)];

            })->map(function ($value, $key) {

                return sprintf('%s="%s"', $key, $value);

            })->implode(' ');

    }
<?php     static function httpDate($timestamp)

    {

        return sprintf('%s GMT', gmdate('D, d M Y H:i:s', $timestamp));

    }



    static function containsDots($subject)