aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 172f7e8..db0ea45 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -809,6 +809,15 @@ pub fn json_decode(s: &str, assoc: bool) -> anyhow::Result<PhpMixed> {
todo!()
}
+pub fn http_build_query_mixed(
+ data: &IndexMap<String, PhpMixed>,
+ numeric_prefix: &str,
+ arg_separator: &str,
+) -> String {
+ let _ = (data, numeric_prefix, arg_separator);
+ todo!()
+}
+
pub fn http_build_query(data: &[(&str, &str)], sep_str: &str, sep: &str) -> String {
todo!()
}
@@ -829,6 +838,15 @@ pub fn strtr_array(s: &str, pairs: &IndexMap<String, String>) -> String {
todo!()
}
+pub fn array_search_mixed(
+ needle: &PhpMixed,
+ haystack: &PhpMixed,
+ strict: bool,
+) -> Option<PhpMixed> {
+ let _ = (needle, haystack, strict);
+ todo!()
+}
+
pub fn array_search(needle: &str, haystack: &IndexMap<String, String>) -> Option<String> {
todo!()
}