1
0
Fork 0

PHP_5_2: !__tostring cache was MFH by php

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@94 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-07-16 09:19:40 +00:00
parent 543295527a
commit f7c7805f75
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ static void xc_fix_method(processor_t *processor, zend_op_array *dst) /* {{{ */
SET_IF_SAME_NAME(__isset);
#endif
SET_IF_SAME_NAME(__call);
#if PHP_MAJOR_VERSION >= 6
#if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
SET_IF_SAME_NAME(__tostring);
#endif

View File

@ -347,7 +347,7 @@ DEF_STRUCT_P_FUNC(`zend_class_entry', , `dnl {{{
#ifdef ZEND_ENGINE_2_1
COPY(__unset)
COPY(__isset)
# if PHP_MAJOR_VERSION >= 6
# if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
COPY(__tostring)
# endif
#endif