Skip to content

Commit f5c237b

Browse files
Add get_headers stub
1 parent f08de42 commit f5c237b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stubs/core.stub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,11 @@ function abs($num) {}
389389
*/
390390
function get_defined_constants(bool $categorize = false): array {}
391391

392+
/**
393+
* @return ($associative is false ? list<string>|false : array<int|string, string|list<string>>|false)
394+
*/
395+
function get_headers(string $url, bool $associative = false, ?resource $context = null): array|false
396+
392397
/**
393398
* @param array<string> $long_options
394399
* @param mixed $rest_index

0 commit comments

Comments
 (0)