diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-15 23:02:16 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 10:00:39 +0900 |
| commit | 8142c4b61eef2047148b331550a413e532e7bd33 (patch) | |
| tree | 2e67d29baf70c493108d5667c820642ba482dc7e /crates/shirabe-php-shim/src/lib.rs | |
| parent | 4bd01675e90f55d41063a010a22806d3f73013a1 (diff) | |
| download | php-shirabe-8142c4b61eef2047148b331550a413e532e7bd33.tar.gz php-shirabe-8142c4b61eef2047148b331550a413e532e7bd33.tar.zst php-shirabe-8142c4b61eef2047148b331550a413e532e7bd33.zip | |
feat(port): port Runtime.php
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 24 |
1 files changed, 24 insertions, 0 deletions
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<String> { + todo!() +} + +pub fn phpversion(extension: &str) -> Option<String> { + todo!() +} + +pub fn ob_start() -> bool { + todo!() +} + +pub fn ob_get_clean() -> Option<String> { + todo!() +} + +pub fn html_entity_decode(s: &str) -> String { + todo!() +} |
