export_php:function test_uppercase(string $str): string
(s *C.zend_string)
| 11 | |
| 12 | // export_php:function test_uppercase(string $str): string |
| 13 | func 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 |
| 20 | func test_add_numbers(a int64, b int64) int64 { |