pub struct FcallInfo<'a> {
pub function_name: Option<&'a str>,
pub class_name: Option<&'a str>,
pub filename: Option<&'a str>,
pub lineno: u32,
pub is_internal: bool,
}Available on crate feature
observer only.Expand description
Metadata about a function being called.
Fields§
§function_name: Option<&'a str>Function name (None for anonymous functions or main script).
class_name: Option<&'a str>Class name for method calls.
filename: Option<&'a str>Source filename (None for internal functions).
lineno: u32Line number (0 for internal functions).
is_internal: boolWhether this is an internal (built-in) PHP function.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FcallInfo<'a>
impl<'a> RefUnwindSafe for FcallInfo<'a>
impl<'a> Send for FcallInfo<'a>
impl<'a> Sync for FcallInfo<'a>
impl<'a> Unpin for FcallInfo<'a>
impl<'a> UnsafeUnpin for FcallInfo<'a>
impl<'a> UnwindSafe for FcallInfo<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more