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

Function test_uppercase

testdata/integration/basic_function.go:13–17  ·  view source on GitHub ↗

export_php:function test_uppercase(string $str): string

(s *C.zend_string)

Source from the content-addressed store, hash-verified

11
12// export_php:function test_uppercase(string $str): string
13func test_uppercase(s *C.zend_string) unsafe.Pointer {
14 str := frankenphp.GoString(unsafe.Pointer(s))
15 upper := strings.ToUpper(str)
16 return frankenphp.PHPString(upper, false)
17}
18
19// export_php:function test_add_numbers(int $a, int $b): int
20func test_add_numbers(a int64, b int64) int64 {

Callers

nothing calls this directly

Calls 2

GoStringFunction · 0.92
PHPStringFunction · 0.92

Tested by

no test coverage detected