diff --git a/test/fixtures/aot/cases/in_array_router_404.phpt b/test/fixtures/aot/cases/in_array_router_404.phpt index 927bb8d5..9d283d0a 100644 --- a/test/fixtures/aot/cases/in_array_router_404.phpt +++ b/test/fixtures/aot/cases/in_array_router_404.phpt @@ -13,7 +13,7 @@ if (!in_array($route, $routes, true)) { echo 'ok:', $route, "\n"; } --EXPECTF-- -Status: 404 Not Found +Status: 404 not found --EXPECT_EXIT-- 0 diff --git a/test/fixtures/aot/cases/web_request_method.phpt b/test/fixtures/aot/cases/web_request_method.phpt new file mode 100644 index 00000000..93bf4a7c --- /dev/null +++ b/test/fixtures/aot/cases/web_request_method.phpt @@ -0,0 +1,13 @@ +--TEST-- +AOT: REQUEST_METHOD from refreshed $_SERVER (issue #201) +--ENV-- +REQUEST_METHOD=POST +SCRIPT_NAME=/index.php +REQUEST_URI=/index.php +--FILE-- +