Browse Source

PHP_5_2: !__tostring cache was MFH by php

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@94 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 16 years ago
parent
commit
f7c7805f75
  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

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