summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-14 13:31:52 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-14 13:35:12 +0200
commit68527a7834eec98dc33af2fe053c31ce64e745c6 (patch)
tree5694ae624bddc1515889f85b4db2375de92139b4 /sapi/apache2handler/php_functions.stub.php
parent161ee110bf6a0abb673cdf7429868be62236207d (diff)
downloadphp-git-68527a7834eec98dc33af2fe053c31ce64e745c6.tar.gz
Add stubs for some SAPIs
For apache2handler, fpm, litespeed, phpdbg, specifically. Partially implements GH-5295
Diffstat (limited to 'sapi/apache2handler/php_functions.stub.php')
-rw-r--r--sapi/apache2handler/php_functions.stub.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache2handler/php_functions.stub.php b/sapi/apache2handler/php_functions.stub.php
index 5b2835ac3a..391600be6c 100644
--- a/sapi/apache2handler/php_functions.stub.php
+++ b/sapi/apache2handler/php_functions.stub.php
@@ -1,11 +1,14 @@
<?php
+/** @generate-function-entries */
+
function apache_lookup_uri(string $filename): object|false {}
function virtual(string $uri): bool {}
function apache_request_headers(): array {}
+/** @alias apache_request_headers */
function getallheaders(): array {}
function apache_response_headers(): array {}