You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
Since objects are created through PHPs ecalloc() which internally uses malloc() the constructors are not called. This can be fixed through the usage of a placement new which should be added to all objects relying on a constructor. The same applies for the desctructors which means that more custom object handlers must be implemented and the desctructor has to be called manually (eg intern->~Connection())
The text was updated successfully, but these errors were encountered:
This means a arangodb::fuerte::php::Response::handler_response.free_obj = [function] that calls the destructor has to be defined. This function is not (anymore) required to free the objects memory, it is just used for freeing custom data.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since objects are created through PHPs ecalloc() which internally uses malloc() the constructors are not called. This can be fixed through the usage of a placement new which should be added to all objects relying on a constructor. The same applies for the desctructors which means that more custom object handlers must be implemented and the desctructor has to be called manually (eg intern->~Connection())
The text was updated successfully, but these errors were encountered: