stas Sun Jan 12 13:42:16 2003 EDT Modified files: /php4/ext/standard aggregation.c Log: ZE2 compatibility Index: php4/ext/standard/aggregation.c diff -u php4/ext/standard/aggregation.c:1.14 php4/ext/standard/aggregation.c:1.15 --- php4/ext/standard/aggregation.c:1.14 Sun Jan 12 09:43:04 2003 +++ php4/ext/standard/aggregation.c Sun Jan 12 13:42:16 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: aggregation.c,v 1.14 2003/01/12 14:43:04 stas Exp $ */ +/* $Id: aggregation.c,v 1.15 2003/01/12 18:42:16 stas Exp $ */ #include "php.h" #include "basic_functions.h" @@ -399,10 +399,15 @@ new_ce->clone = Z_OBJCE_P(obj)->clone; #endif new_ce->builtin_functions = Z_OBJCE_P(obj)->builtin_functions; +#ifndef ZEND_ENGINE_2 new_ce->handle_function_call = Z_OBJCE_P(obj)->handle_function_call; new_ce->handle_property_get = Z_OBJCE_P(obj)->handle_property_get; new_ce->handle_property_set = Z_OBJCE_P(obj)->handle_property_set; - +#else + new_ce->__call = Z_OBJCE_P(obj)->__call; + new_ce->__get = Z_OBJCE_P(obj)->__get; + new_ce->__set = Z_OBJCE_P(obj)->__set; +#endif /* * Okay, that was kind of exhausting. Let's invoke programmer virtue #1 * and stuff this where it belongs so we don't have to work so hard next
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php