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

Function newPersistentZendString

cgi.go:376–378  ·  view source on GitHub ↗

initialize a global zend_string that must never be freed and is ignored by GC

(str string)

Source from the content-addressed store, hash-verified

374
375// initialize a global zend_string that must never be freed and is ignored by GC
376func newPersistentZendString(str string) *C.zend_string {
377 return C.frankenphp_init_persistent_string(toUnsafeChar(str), C.size_t(len(str)))
378}
379
380// Protocol versions, in Apache mod_ssl format: https://httpd.apache.org/docs/current/mod/mod_ssl.html
381// Note that these are slightly different from SupportedProtocols in caddytls/config.go

Callers 2

go_init_os_envFunction · 0.85
startMethod · 0.85

Calls 1

toUnsafeCharFunction · 0.85

Tested by

no test coverage detected