We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9a321 commit 71c9a45Copy full SHA for 71c9a45
tests/src/lib.rs
@@ -88,7 +88,7 @@ pub fn test_variadic_args(params: &[&Zval]) -> Vec<Zval> {
88
params.iter().map(|x| x.shallow_clone()).collect()
89
}
90
91
-#[php_function(optional = "numbers")]
+#[php_function(optional = "_numbers")]
92
pub fn test_variadic_add_optional(number: u32, _numbers: &[&Zval]) -> u32 {
93
number
94
0 commit comments