diff --git a/stubs/Php80.phpstub b/stubs/Php80.phpstub index 42e0ad799a5..2f2d5bf0b9b 100644 --- a/stubs/Php80.phpstub +++ b/stubs/Php80.phpstub @@ -240,6 +240,13 @@ class DatePeriod implements IteratorAggregate */ function get_headers(string $url, bool $associative = false, $context = null) : array|false {} +/** + * @psalm-pure + * + * @psalm-flow ($values) -> return + */ +function pack(string $format, mixed ...$values): string {} + final class CurlHandle { private function __construct()