aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/apcu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/apcu.rs')
-rw-r--r--crates/shirabe-php-shim/src/apcu.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/apcu.rs b/crates/shirabe-php-shim/src/apcu.rs
new file mode 100644
index 0000000..699f66e
--- /dev/null
+++ b/crates/shirabe-php-shim/src/apcu.rs
@@ -0,0 +1,11 @@
+use crate::PhpMixed;
+
+pub fn apcu_add(key: &str, var: PhpMixed) -> bool {
+ let _ = (key, var);
+ todo!()
+}
+
+pub fn apcu_fetch(key: &str, success: &mut bool) -> PhpMixed {
+ let _ = (key, success);
+ todo!()
+}