summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2003-01-12 18:42:16 +0000
committerStanislav Malyshev <stas@php.net>2003-01-12 18:42:16 +0000
commit98175957a78b3150ae652c9219969a248a578483 (patch)
tree5d010f12eb6b04b052007b45ed57ead3a4508a5e
parent2ae8d124cef19cd0850759c9bc467c0888d931c3 (diff)
downloadphp-git-98175957a78b3150ae652c9219969a248a578483.tar.gz
ZE2 compatibility
-rw-r--r--ext/standard/aggregation.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/standard/aggregation.c b/ext/standard/aggregation.c
index 0173ae14e7..5f47b96a32 100644
--- a/ext/standard/aggregation.c
+++ b/ext/standard/aggregation.c
@@ -399,10 +399,15 @@ static void aggregate(INTERNAL_FUNCTION_PARAMETERS, int aggr_what, int aggr_type
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