diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-16 14:43:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 14:43:45 +0900 |
| commit | 2173438176ceef9d4121787f590cabb7a0ab4e37 (patch) | |
| tree | af0b3b578b3f7f3dab2339e8282fc28844d4a7cb /crates/shirabe-php-shim | |
| parent | a997321d92fb0dbd40febf92f605a94396f847a1 (diff) | |
| download | php-shirabe-2173438176ceef9d4121787f590cabb7a0ab4e37.tar.gz php-shirabe-2173438176ceef9d4121787f590cabb7a0ab4e37.tar.zst php-shirabe-2173438176ceef9d4121787f590cabb7a0ab4e37.zip | |
feat(port): port Pool.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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<usize> { 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; |
