From 2173438176ceef9d4121787f590cabb7a0ab4e37 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 16 May 2026 14:43:45 +0900 Subject: feat(port): port Pool.php --- crates/shirabe-php-shim/src/lib.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'crates/shirabe-php-shim') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 49b9a66..cefe46a 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -841,6 +841,18 @@ pub fn strpos(haystack: &str, needle: &str) -> Option { todo!() } +pub fn str_pad(input: &str, length: usize, pad_string: &str, pad_type: i64) -> String { + todo!() +} + +pub const STR_PAD_LEFT: i64 = 0; +pub const STR_PAD_RIGHT: i64 = 1; +pub const STR_PAD_BOTH: i64 = 2; + +pub fn abs(value: i64) -> i64 { + todo!() +} + impl Phar { pub const SHA512: i64 = 16; -- cgit v1.3.1