diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index b5cd9c3..df2a0c3 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -1,3 +1,16 @@ +use indexmap::IndexMap; + +#[derive(Debug)] +pub enum PhpMixed { + Null, + Bool(bool), + Int(i64), + Float(f64), + String(String), + List(Vec<Box<PhpMixed>>), + Array(IndexMap<String, Box<PhpMixed>>), +} + #[derive(Debug)] pub struct Exception { pub message: String, |
