diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:50:40 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:50:40 +0900 |
| commit | 34ff0250aca29044181251a6763916bd55433962 (patch) | |
| tree | c010593869e584dc71e04938554f73367929c511 /crates/shirabe-php-shim | |
| parent | a2f96c58f82fbd5544a9c2e7cababb0fbc445b51 (diff) | |
| download | php-shirabe-34ff0250aca29044181251a6763916bd55433962.tar.gz php-shirabe-34ff0250aca29044181251a6763916bd55433962.tar.zst php-shirabe-34ff0250aca29044181251a6763916bd55433962.zip | |
feat(port): port Silencer.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 35202ba..c2a20cf 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -139,6 +139,17 @@ pub fn implode(glue: &str, pieces: &[String]) -> String { todo!() } +pub fn error_reporting(level: Option<i64>) -> i64 { + todo!() +} + +pub const E_WARNING: i64 = 2; +pub const E_NOTICE: i64 = 8; +pub const E_USER_WARNING: i64 = 512; +pub const E_USER_NOTICE: i64 = 1024; +pub const E_DEPRECATED: i64 = 8192; +pub const E_USER_DEPRECATED: i64 = 16384; + pub const PHP_URL_PATH: i64 = 5; pub const PATHINFO_FILENAME: i64 = 64; pub const DIRECTORY_SEPARATOR: &str = "/"; |
