Hello internals, I'm doing the Cairo C API extension. Also there is a wrapper written in php for the OOP side( example: https://github.com/gtkphp/gtkphp/blob/main/lib/Cairo/Context.php)
So far, so good. Now let's do the same thing with Gtk, (https://github.com/gtkphp/gtkphp/blob/main/lib/Gtk/Widget.php#L7) Luckily I can *store zend_function* pointer in the GtkWidgetClass*( C-like OOP) Finally, I do the same thing for GHashTable( C API + php OOP) But now I need to *use a global zend_array/hash to store the overridden methods* for the same reasons as https://github.com/php/php-src/pull/7695 I think it is better( more generic, simple to understand) to *overload the zend_class_entry* . Do you think this is a good idea? Is this possible ? Do you have a solution for me? Best regards,