Re: [PHP-DEV] zend_class_entry.create_object

2006-05-03 Thread Marcus Boerger
Hello Brandon, create_object is your new handler that is supposed to deliver an empty object. You cannot have this NULL. The __construct part allows to define what the actual constructor does afterwards. Forcing __construct to be called is a bit more complicated but a bunch of exts already do so

[PHP-DEV] zend_class_entry.create_object

2006-05-02 Thread Brandon Fosdick
When registering a new class, what are the consequences of setting zend_class_entry.create_object = NULL? INIT_CLASS_ENTRY() defaults it to NULL, but the tutorial I'm looking at sets it to the address of a function immediately afterwards. My concern is that setting this allows the engine to ca