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 4b0ed2f5..dfbd2f03 100644
--- a/crates/shirabe-php-shim/src/var.rs
+++ b/crates/shirabe-php-shim/src/var.rs
@@ -249,12 +249,6 @@ pub fn get_debug_type_obj<T>(_value: &T) -> String {
std::any::type_name::<T>().to_string()
}
-pub fn instantiate_class(_class: &str, _args: Vec<PhpMixed>) -> PhpMixed {
- // TODO(php-runtime): instantiating a class by name needs a runtime class registry (reflection),
- // which the shim does not provide.
- todo!()
-}
-
pub fn php_to_string(value: &PhpMixed) -> String {
match value {
PhpMixed::Null => String::new(),