Browse Source

cacher: PHP_5_6: fix support for __debugInfo

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1490 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 7 years ago
parent
commit
9c0999b7de
  1. 3
      processor/head.m4
  2. 8
      processor/processor.m4

3
processor/head.m4

@ -313,6 +313,9 @@ static void xc_fix_method(xc_processor_t *processor, zend_op_array *dst TSRMLS_D
#endif
#if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
SET_IF_SAME_NAME(__tostring);
#endif
#if defined(ZEND_ENGINE_2_6)
SET_IF_SAME_NAME(__debugInfo);
#endif
')
#ifdef IS_UNICODE

8
processor/processor.m4

@ -548,6 +548,10 @@ DEF_STRUCT_P_FUNC(`zend_class_entry', , `dnl {{{
# ifdef ZEND_ENGINE_2_1
PROCESS_CTEXTPOINTER(__unset)
PROCESS_CTEXTPOINTER(__isset)
# endif
PROCESS_CTEXTPOINTER(__call)
# ifdef ZEND_CALLSTATIC_FUNC_NAME
PROCESS_CTEXTPOINTER(__callstatic)
# endif
# if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
PROCESS_CTEXTPOINTER(__tostring)
@ -555,10 +559,6 @@ DEF_STRUCT_P_FUNC(`zend_class_entry', , `dnl {{{
# if defined(ZEND_ENGINE_2_6)
PROCESS_CTEXTPOINTER(__debugInfo)
# endif
PROCESS_CTEXTPOINTER(__call)
# ifdef ZEND_CALLSTATIC_FUNC_NAME
PROCESS_CTEXTPOINTER(__callstatic)
# endif
# ifndef ZEND_ENGINE_2_4
/* # NOT DONE */
PROCESS_CTEXTPOINTER(module)

Loading…
Cancel
Save