Passing a C++ Class Member Function to the (*create_object) in zend_class_entry

From: Date: Tue, 14 Mar 2006 18:45:05 +0000
Subject: Passing a C++ Class Member Function to the (*create_object) in zend_class_entry
Groups: php.internals 
Request: Send a blank email to internals+get-22424@lists.php.net to get a copy of this message
Is it possible to pass a C++ member function to the create_object member in zend_class_entry ? This would allow a factory-like generator of zend/c++ object pairs. error: argument of type ` zend_object_value (MyClassFactory::)(zend_class_entry*, void***)' does not match `zend_object_value (*)(zend_class_entry*, void***)'

« previous php.internals (#22424) next »