aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-09 08:28:07 +0900
committernsfisis <nsfisis@gmail.com>2026-08-09 08:31:02 +0900
commit4d974682134f20a816dde717fdbba8e76d9b10b8 (patch)
treea9652b651c7412429671206ee77f5a6230f3bd93 /crates/shirabe-php-shim
parentf000cdf5770c3b20bf406367d1d3a65ef215e2fd (diff)
downloadphp-shirabe-4d974682134f20a816dde717fdbba8e76d9b10b8.tar.gz
php-shirabe-4d974682134f20a816dde717fdbba8e76d9b10b8.tar.zst
php-shirabe-4d974682134f20a816dde717fdbba8e76d9b10b8.zip
refactor(installed-versions): merge the name lists without call_user_func_array
The only live caller passed the constant 'array_merge', so the list concatenation is written out in place, as ClassLoader::get_prefixes already does. That leaves the shim function without callers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim')
-rw-r--r--crates/shirabe-php-shim/src/runtime.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/shirabe-php-shim/src/runtime.rs b/crates/shirabe-php-shim/src/runtime.rs
index 1ca051fb..6ad5bc29 100644
--- a/crates/shirabe-php-shim/src/runtime.rs
+++ b/crates/shirabe-php-shim/src/runtime.rs
@@ -378,12 +378,6 @@ pub fn memory_get_peak_usage(_real_usage: bool) -> i64 {
0
}
-pub fn call_user_func_array(_callback: &str, _args: &PhpMixed) -> PhpMixed {
- // TODO(php-runtime): invoking a function by name needs a runtime function registry; the shim has
- // no way to resolve a callable from a string.
- todo!()
-}
-
pub fn call_php_callable(_callback: &PhpMixed, _args: &[PhpMixed]) -> PhpMixed {
// TODO(php-runtime): PhpMixed carries no callable variant; a runtime callable cannot be invoked.
todo!()