MCPcopy Index your code
hub / github.com/php/frankenphp / TestRequestSuperGlobal_worker

Function TestRequestSuperGlobal_worker

frankenphp_test.go:330–334  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

328
329func TestRequestSuperGlobal_module(t *testing.T) { testRequestSuperGlobal(t, nil) }
330func TestRequestSuperGlobal_worker(t *testing.T) {
331 phpIni := make(map[string]string)
332 phpIni["auto_globals_jit"] = "1"
333 testRequestSuperGlobal(t, &testOptions{workerScript: "request-superglobal.php", phpIni: phpIni})
334}
335func testRequestSuperGlobal(t *testing.T, opts *testOptions) {
336 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
337 // Test with both GET and POST parameters

Callers

nothing calls this directly

Calls 1

testRequestSuperGlobalFunction · 0.85

Tested by

no test coverage detected