aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index e90b33d..56bfcc4 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -481,3 +481,7 @@ pub fn array_fill_keys(keys: PhpMixed, value: PhpMixed) -> PhpMixed {
pub fn array_merge(array1: PhpMixed, array2: PhpMixed) -> PhpMixed {
todo!()
}
+
+pub fn substr_replace(string: &str, replace: &str, start: usize, length: usize) -> String {
+ todo!()
+}