Type Definition ext_php_rs::zend::ZendObjectHandlers[][src]

pub type ZendObjectHandlers = zend_object_handlers;
Expand description

A set of functions associated with a PHP class.

Implementations

Creates a new set of object handlers based on the standard object handlers.

Initializes a given set of object handlers by copying the standard object handlers into the memory location, as well as setting up the T type destructor.

Parameters
  • ptr - Pointer to memory location to copy the standard handlers to.
Safety

Caller must guarantee that the ptr given is a valid memory location.