diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-16 15:02:02 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 15:02:02 +0900 |
| commit | 99ddd75d650d9348bdca5e2da6316907f1c70d36 (patch) | |
| tree | 8522d6f6c75daa27fffb1d821cd9d8fb67dcb0be /crates/shirabe-php-shim/src | |
| parent | fd74c08a78b97c674552854c27d341deae2ac937 (diff) | |
| download | php-shirabe-99ddd75d650d9348bdca5e2da6316907f1c70d36.tar.gz php-shirabe-99ddd75d650d9348bdca5e2da6316907f1c70d36.tar.zst php-shirabe-99ddd75d650d9348bdca5e2da6316907f1c70d36.zip | |
feat(port): port Transaction.php
Diffstat (limited to 'crates/shirabe-php-shim/src')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 06041b4..c5d5fc4 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -972,6 +972,33 @@ pub fn array_shift<T>(array: &mut Vec<T>) -> Option<T> { todo!() } +pub fn array_pop<T>(array: &mut Vec<T>) -> Option<T> { + todo!() +} + +pub fn array_unshift<T>(array: &mut Vec<T>, value: T) { + todo!() +} + +pub fn array_reverse<T: Clone>(array: &[T], preserve_keys: bool) -> Vec<T> { + todo!() +} + +pub fn array_filter<T: Clone, F>(array: &[T], callback: F) -> Vec<T> +where + F: Fn(&T) -> bool, +{ + todo!() +} + +pub fn array_intersect<T: Clone + PartialEq>(array1: &[T], array2: &[T]) -> Vec<T> { + todo!() +} + +pub fn array_keys<V>(array: &IndexMap<String, V>) -> Vec<String> { + todo!() +} + pub fn array_map<T, U, F>(callback: F, array: &[T]) -> Vec<U> where F: Fn(&T) -> U, |
