8c9a46a3f0dd4eb9a27ba8dc5f37676b7f150641
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Zend\Diactoros;
6
7 use function func_get_args;
8 use function Laminas\Diactoros\parseCookieHeader as laminas_parseCookieHeader;
9
10 /**
11 * @deprecated Use {@see \Laminas\Diactoros\parseCookieHeader} instead
12 *
13 * @param string $cookieHeader A string cookie header value.
14 * @return array<non-empty-string, string> key/value cookie pairs.
15 */
16 function parseCookieHeader($cookieHeader): array
17 {
18 return laminas_parseCookieHeader(...func_get_args());
19 }