diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-09 07:47:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-09 07:48:16 +0900 |
| commit | 20a876d44a7f7fe8f5d4cc77eb79a9a359aaf150 (patch) | |
| tree | 2501c7f9b94e0bb2f47f1b2295583c543b52e76b /crates/shirabe-php-shim/src/var.rs | |
| parent | 627aaead32dcf38bed255012fcf7965d9553f52e (diff) | |
| download | php-shirabe-20a876d44a7f7fe8f5d4cc77eb79a9a359aaf150.tar.gz php-shirabe-20a876d44a7f7fe8f5d4cc77eb79a9a359aaf150.tar.zst php-shirabe-20a876d44a7f7fe8f5d4cc77eb79a9a359aaf150.zip | |
refactor(php-shim): remove shim functions with no callers
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/var.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/var.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/shirabe-php-shim/src/var.rs b/crates/shirabe-php-shim/src/var.rs index 8697097d..af3c1b3b 100644 --- a/crates/shirabe-php-shim/src/var.rs +++ b/crates/shirabe-php-shim/src/var.rs @@ -206,12 +206,6 @@ pub fn loosely_compare(a: &str, b: &str) -> std::cmp::Ordering { } } -pub fn instance_of<T>(_value: &PhpMixed) -> bool { - // TODO(php-runtime): PHP `instanceof` needs the runtime class of the value, which PhpMixed::Object - // does not carry. - todo!() -} - pub fn is_subclass_of(_object_or_class: &PhpMixed, _class_name: &str, _allow_string: bool) -> bool { // TODO(php-runtime): requires runtime class ancestry, which PhpMixed::Object does not carry. todo!() |
