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.rs10
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!()
}