aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-16 15:28:54 +0900
committernsfisis <nsfisis@gmail.com>2026-05-16 15:28:54 +0900
commit1a018be0f4aefe957fad0edcde7eb10b6728069b (patch)
tree6381e726be1cbef7bd9d9031bb50b733d2f23b69 /crates/shirabe-php-shim/src
parentfe461d7eec72881f2e25d73f2719138fa88b3689 (diff)
downloadphp-shirabe-1a018be0f4aefe957fad0edcde7eb10b6728069b.tar.gz
php-shirabe-1a018be0f4aefe957fad0edcde7eb10b6728069b.tar.zst
php-shirabe-1a018be0f4aefe957fad0edcde7eb10b6728069b.zip
feat(port): port JsonConfigSource.php
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs34
1 files changed, 34 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 2dbeab6..3dfadf1 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -1142,6 +1142,40 @@ pub fn r#eval(code: &str) -> PhpMixed {
todo!()
}
+pub fn array_is_list(array: &PhpMixed) -> bool {
+ todo!()
+}
+
+pub fn array_values<V: Clone>(array: &IndexMap<String, V>) -> Vec<V> {
+ todo!()
+}
+
+pub fn array_splice<T>(
+ array: &mut Vec<T>,
+ offset: i64,
+ length: Option<i64>,
+ replacement: Vec<T>,
+) -> Vec<T> {
+ todo!()
+}
+
+pub fn array_pop_first<T>(array: &mut Vec<T>) -> Option<T> {
+ todo!()
+}
+
+pub fn reset_first<T: Clone>(array: &[T]) -> Option<T> {
+ todo!()
+}
+
+pub fn call_user_func<T>(callback: &str, args: &[PhpMixed]) -> T
+where
+ T: From<PhpMixed>,
+{
+ todo!()
+}
+
+pub const PHP_EOL: &str = "\n";
+
pub fn call_user_func_array(callback: &str, args: &PhpMixed) -> PhpMixed {
todo!()
}