diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-14 20:01:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-14 20:01:10 +0900 |
| commit | f76b2a6e62c8cb8f330864d3f062cf0933d023cb (patch) | |
| tree | 8cda0f87c2be5c3093c04cb3bf2384ac1e31ce96 /crates/shirabe-php-shim | |
| parent | 44ce5a41afaea0038bb2b48c82c3a9a8dc9ab206 (diff) | |
| download | php-shirabe-f76b2a6e62c8cb8f330864d3f062cf0933d023cb.tar.gz php-shirabe-f76b2a6e62c8cb8f330864d3f062cf0933d023cb.tar.zst php-shirabe-f76b2a6e62c8cb8f330864d3f062cf0933d023cb.zip | |
feat(port): port GenericRule.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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<u8> { + todo!() +} + +pub fn unpack(format: &str, data: &[u8]) -> Option<IndexMap<String, Box<PhpMixed>>> { + todo!() +} + +pub const PHP_VERSION_ID: i64 = 80100; + pub fn extension_loaded(name: &str) -> bool { todo!() } |
