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:
parent
543295527a
commit
f7c7805f75
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue