diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/runtime.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/runtime.rs | 6 |
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 05396b3b..c00c8f51 100644 --- a/crates/shirabe-php-shim/src/runtime.rs +++ b/crates/shirabe-php-shim/src/runtime.rs @@ -49,12 +49,6 @@ pub fn constant(_name: &str) -> PhpMixed { todo!() } -pub fn define(_constant_name: &str, _value: PhpMixed) -> bool { - // TODO(php-runtime): defining a constant at runtime needs the same registry `constant` and - // `defined` would read from; the shim has none. - todo!() -} - // Models the constants defined in a standard modern PHP CLI environment on a // non-Windows platform with the common extensions loaded (curl, openssl, json). // Windows-only, HHVM and Composer-bootstrap constants are reported undefined. |
