From eec7dc3646324d9c9064f91d7369deacf31342b6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 16 May 2026 15:42:13 +0900 Subject: feat(port): port PackageDiscoveryTrait.php --- crates/shirabe-php-shim/src/lib.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'crates/shirabe-php-shim') 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( + array: &IndexMap, + offset: i64, + length: Option, +) -> IndexMap { + todo!() +} + +pub fn asort(array: &mut IndexMap) { + todo!() +} + pub const PHP_EOL: &str = "\n"; pub const PHP_INT_MAX: i64 = i64::MAX; -- cgit v1.3.1