Browse Source

merged [94]: PHP_5_2: !__tostring cache was MFH by php

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.0@97 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.0
Xuefer 15 years ago
parent
commit
97d56b1ad9
  1. 2
      processor/head.m4
  2. 2
      processor/processor.m4

2
processor/head.m4

@ -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

2
processor/processor.m4

@ -343,7 +343,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…
Cancel
Save