From 8142c4b61eef2047148b331550a413e532e7bd33 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 15 May 2026 23:02:16 +0900 Subject: feat(port): port Runtime.php --- crates/shirabe-php-shim/src/lib.rs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'crates/shirabe-php-shim/src/lib.rs') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index e85f665..ad408ec 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -493,3 +493,27 @@ pub fn array_merge(array1: PhpMixed, array2: PhpMixed) -> PhpMixed { pub fn substr_replace(string: &str, replace: &str, start: usize, length: usize) -> String { todo!() } + +pub fn constant(name: &str) -> PhpMixed { + todo!() +} + +pub fn get_loaded_extensions() -> Vec { + todo!() +} + +pub fn phpversion(extension: &str) -> Option { + todo!() +} + +pub fn ob_start() -> bool { + todo!() +} + +pub fn ob_get_clean() -> Option { + todo!() +} + +pub fn html_entity_decode(s: &str) -> String { + todo!() +} -- cgit v1.3.1