summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.stub.php
diff options
context:
space:
mode:
authorCraig Duncan <duncan3dc@php.net>2019-10-27 22:18:42 +0000
committerChristoph M. Becker <cmbecker69@gmx.de>2019-11-18 15:07:04 +0100
commite208d236b3f8af855e219ea3abc796b8dd9d0d5d (patch)
treee1301ac59681c578b0e1d568a0ab5eb1cae8fd28 /sapi/apache2handler/php_functions.stub.php
parent7a5dbcd660dedfb60320360639cd84babe3388c5 (diff)
downloadphp-git-e208d236b3f8af855e219ea3abc796b8dd9d0d5d.tar.gz
Convert apache2handler arginfo to php stubs
Diffstat (limited to 'sapi/apache2handler/php_functions.stub.php')
-rw-r--r--sapi/apache2handler/php_functions.stub.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/sapi/apache2handler/php_functions.stub.php b/sapi/apache2handler/php_functions.stub.php
new file mode 100644
index 0000000000..5b2835ac3a
--- /dev/null
+++ b/sapi/apache2handler/php_functions.stub.php
@@ -0,0 +1,21 @@
+<?php
+
+function apache_lookup_uri(string $filename): object|false {}
+
+function virtual(string $uri): bool {}
+
+function apache_request_headers(): array {}
+
+function getallheaders(): array {}
+
+function apache_response_headers(): array {}
+
+function apache_note(string $note_name, string $note_value = UNKNOWN): string|false {}
+
+function apache_setenv(string $variable, string $value, bool $walk_to_top = false): bool {}
+
+function apache_getenv(string $variable, bool $walk_to_top = false): string|false {}
+
+function apache_get_version(): string|false {}
+
+function apache_get_modules(): array {}