diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index ea94e52..06041b4 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -968,6 +968,17 @@ pub fn sprintf(format: &str, args: &[PhpMixed]) -> String { todo!() } +pub fn array_shift<T>(array: &mut Vec<T>) -> Option<T> { + todo!() +} + +pub fn array_map<T, U, F>(callback: F, array: &[T]) -> Vec<U> +where + F: Fn(&T) -> U, +{ + todo!() +} + impl Phar { pub const SHA512: i64 = 16; |
