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

Function addPreparedEnvToServer

cgi.go:176–181  ·  view source on GitHub ↗
(fc *frankenPHPContext, trackVarsArray *C.zval)

Source from the content-addressed store, hash-verified

174}
175
176func addPreparedEnvToServer(fc *frankenPHPContext, trackVarsArray *C.zval) {
177 for k, v := range fc.env {
178 C.frankenphp_register_variable_safe(toUnsafeChar(k), toUnsafeChar(v), C.size_t(len(v)), trackVarsArray)
179 }
180 fc.env = nil
181}
182
183//export go_register_server_variables
184func go_register_server_variables(threadIndex C.uintptr_t, trackVarsArray *C.zval) {

Callers 1

Calls 1

toUnsafeCharFunction · 0.85

Tested by

no test coverage detected