ive been looking over the ZE2 alpha release code for clues on porting my OO
extension over to the new engine, but a few things are not clicking yet....
how do i raise an exception from C. last time i asked, Andi said that it
would be sufficient to do a
EG(exception) = error_object_i_created;
but looking through zend_execute.c there seems to be no explicit check
for (NULL != EG(exception)) in the main interpreter loop
one other (unrelated) thing : there seems to be an overlap between members
of the zend_object_handlers struct and the zend_class_entry stuct (function
pointers for property access and method calls). is the current state
transitional (i.e. should all code going forward use only the
zend_object_handlers way ?) then again i guess thats what macros and such
are for....
l0t3k
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php