From f76b2a6e62c8cb8f330864d3f062cf0933d023cb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 May 2026 20:01:10 +0900 Subject: feat(port): port GenericRule.php --- crates/shirabe-php-shim/src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crates/shirabe-php-shim/src') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 2f0c914..0883478 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -95,6 +95,16 @@ pub fn hash(algo: &str, data: &str) -> String { todo!() } +pub fn hash_raw(algo: &str, data: &str) -> Vec { + todo!() +} + +pub fn unpack(format: &str, data: &[u8]) -> Option>> { + todo!() +} + +pub const PHP_VERSION_ID: i64 = 80100; + pub fn extension_loaded(name: &str) -> bool { todo!() } -- cgit v1.3.1