#[macro_export]
macro_rules! php_call {
($rt:expr, $fn:ident()) => {{ $rt.call(stringify!($fn), &[]) }};
($rt:expr, $fn:ident($($arg:expr),+)) => {{
let args: Vec<$crate::PhpValue> = vec![$($arg.into()),+];
$rt.call(stringify!($fn), &args)
}};
}
#[macro_export]
macro_rules! php_eval { ($rt:expr, $code:expr) => {{ $rt.eval($code) }} }
#[macro_export]
macro_rules! php_include { ($rt:expr, $path:expr) => {{ $rt.include($path) }} }