lisachenko / z-engine

:zap: PHP Engine Direct API
MIT License
448 stars 22 forks source link

Ignore inheritance of create_object handler for children non-internal classes #49

Closed lisachenko closed 3 years ago

lisachenko commented 3 years ago

As create_object handler is copied from the parent class, we should ignore situations when we are trying to

extend a class that already has necessary create_object handler installed by Z-engine. Only internal classes should be ignored as we can't allocate memory for them and to perform initialization