aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/var.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/var.rs')
-rw-r--r--crates/shirabe-php-shim/src/var.rs6
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!()