int main(string[] args) {
    PhpefRuntimeEmbed.phpfunc_echo(PhpefRuntimeCore.Zval.from_string("echo-ok"));
    PhpefRuntimeEmbed.phpfunc_echo_typed_void_arg1_string(" echo-string-ok");
    var print_result = PhpefRuntimeEmbed.phpfunc_print(PhpefRuntimeCore.Zval.from_string(" print-ok"));
    var print_typed_result = PhpefRuntimeEmbed.phpfunc_print_typed_int_arg1_string(" print-string-ok");
    if (print_typed_result != 1) {
        stderr.printf("typed print returned unexpected value\n");
        return 1;
    }
    if (print_result.kind != PhpefRuntimeCore.ValueKind.INT || print_result.as_int() != 1) {
        stderr.printf("print returned unexpected value\n");
        return 1;
    }
    stdout.printf("\n");
    return 0;
}
