Type Definition ext_php_rs::php::execution_data::ExecutionData [−][src]
pub type ExecutionData = zend_execute_data;
Expand description
Execution data passed when a function is called from Zend.
Implementations
Attempts to retrieve a reference to the underlying class object of the Zend object.
Returns a ClassObject
if the execution data contained a valid object, otherwise
returns None
.
Safety
The caller must guarantee that the function is called on an instance of ExecutionData
that:
- Contains an object.
- The object was originally derived from
T
.
Attempts to retrieve the ‘this’ object, which can be used in class methods to retrieve the underlying Zend object.