aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/runtime.rs')
-rw-r--r--crates/shirabe-php-shim/src/runtime.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/shirabe-php-shim/src/runtime.rs b/crates/shirabe-php-shim/src/runtime.rs
index 86cbfd74..2b5e7155 100644
--- a/crates/shirabe-php-shim/src/runtime.rs
+++ b/crates/shirabe-php-shim/src/runtime.rs
@@ -27,7 +27,6 @@ pub const E_USER_NOTICE: i64 = 1024;
pub const E_DEPRECATED: i64 = 8192;
pub const E_USER_DEPRECATED: i64 = 16384;
-pub const INFO_GENERAL: i64 = 1;
pub const PHP_BINARY: &str = "";
// NOTE: &str matching in const expression does not compile for now.
@@ -366,12 +365,6 @@ pub fn ini_set(_varname: &str, _value: &str) -> Option<String> {
todo!()
}
-pub fn phpinfo(_what: i64) {
- // TODO(php-runtime): phpinfo() dumps the full PHP runtime configuration, which the shim does not
- // model.
- todo!()
-}
-
pub fn sapi_windows_vt100_support(_resource: &crate::PhpResource) -> bool {
// TODO(phase-c): Windows-only SAPI function; not defined on the non-Windows target this build
// models (function_exists reports it absent).