mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
fix: prevent crash when calling apache_request_headers() in non-HTTP context
This commit is contained in:
2
testdata/request-headers.php
vendored
2
testdata/request-headers.php
vendored
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
apache_request_headers();
|
||||
|
||||
require_once __DIR__.'/_executor.php';
|
||||
|
||||
return function() {
|
||||
|
||||
Reference in New Issue
Block a user