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

php.internals

Andrew Mather

20 years ago
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***)'

Andrei Zmievski

20 years ago
How much C++ programming have you done previously? -Andrei On Mar 14, 2006, at 10:45 AM, Andrew Mather (BT Std) wrote: