aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index a9d18da..0d749fd 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -1182,6 +1182,26 @@ pub fn is_object(value: &PhpMixed) -> bool {
todo!()
}
+pub fn is_numeric(value: &PhpMixed) -> bool {
+ todo!()
+}
+
+pub fn levenshtein(string1: &str, string2: &str) -> i64 {
+ todo!()
+}
+
+pub fn array_slice<V: Clone>(
+ array: &IndexMap<String, V>,
+ offset: i64,
+ length: Option<i64>,
+) -> IndexMap<String, V> {
+ todo!()
+}
+
+pub fn asort<V: Ord>(array: &mut IndexMap<String, V>) {
+ todo!()
+}
+
pub const PHP_EOL: &str = "\n";
pub const PHP_INT_MAX: i64 = i64::MAX;