diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-16 14:55:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 14:55:15 +0900 |
| commit | 818c37a05cce5073f29b2bccfdaee974ef371013 (patch) | |
| tree | 716e42344d9f453393c7e1ce1d134b8d433fbe3d /crates/shirabe-php-shim | |
| parent | 3d5a56f7c7565f0f3f9d858985af1a011b63036f (diff) | |
| download | php-shirabe-818c37a05cce5073f29b2bccfdaee974ef371013.tar.gz php-shirabe-818c37a05cce5073f29b2bccfdaee974ef371013.tar.zst php-shirabe-818c37a05cce5073f29b2bccfdaee974ef371013.zip | |
feat(port): port VcsDownloader.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -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; |
