aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-12 04:12:18 +0900
committernsfisis <nsfisis@gmail.com>2026-05-12 04:12:18 +0900
commit7bfb3ff7cfbe10c4f096ea09671613731352723f (patch)
tree228cb692fc231df31158dab8e8f298d816b162cc /crates/shirabe-php-shim/src/lib.rs
parent2c1df4a7ba3a0ec0e9eb01aeb219eefad2c26018 (diff)
downloadphp-shirabe-7bfb3ff7cfbe10c4f096ea09671613731352723f.tar.gz
php-shirabe-7bfb3ff7cfbe10c4f096ea09671613731352723f.tar.zst
php-shirabe-7bfb3ff7cfbe10c4f096ea09671613731352723f.zip
feat(port): port HhvmDetector.php
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 33b3df3..f1a9fb1 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -39,10 +39,16 @@ pub fn get_debug_type(value: &PhpMixed) -> String {
todo!()
}
+pub fn defined(name: &str) -> bool {
+ todo!()
+}
+
pub fn hash(algo: &str, data: &str) -> String {
todo!()
}
+pub const HHVM_VERSION: Option<&str> = None;
+
#[derive(Debug)]
pub struct Phar {
path: String,