Does phptrace support php7 or not? I'm trying compile it under PHP 7.0.0-dev (cli) (built: Aug 27 2015 00:25:27) and failed. Here is the log (CentOS7 x64)
Configuring for:
PHP Api Version: 20131218
Zend Module Api No: 20141001
Zend Extension Api No: 320140815
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /root/.phpbrew/php/php-master
checking for PHP includes... -I/root/.phpbrew/php/php-master/include/php -I/root/.phpbrew/php/php-master/include/php/main -I/root/.phpbrew/php/php-master/include/php/TSRM -I/root/.phpbrew/php/php-master/include/php/Zend -I/root/.phpbrew/php/php-master/include/php/ext -I/root/.phpbrew/php/php-master/include/php/ext/date/lib
checking for PHP extension directory... /root/.phpbrew/php/php-master/lib/php/extensions/no-debug-non-zts-20141001
checking for PHP installed headers prefix... /root/.phpbrew/php/php-master/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable trace support... yes, shared
checking for mmap... yes
checking for munmap... yes
checking for ld used by cc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... /bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
make: Entering directory `/root/.phpbrew/build/php-master/ext/trace/extension'
/bin/sh /root/.phpbrew/build/php-master/ext/trace/extension/libtool --mode=compile cc -I. -I/root/.phpbrew/build/php-master/ext/trace/extension -DPHP_ATOM_INC -I/root/.phpbrew/build/php-master/ext/trace/extension/include -I/root/.phpbrew/build/php-master/ext/trace/extension/main -I/root/.phpbrew/build/php-master/ext/trace/extension -I/root/.phpbrew/php/php-master/include/php -I/root/.phpbrew/php/php-master/include/php/main -I/root/.phpbrew/php/php-master/include/php/TSRM -I/root/.phpbrew/php/php-master/include/php/Zend -I/root/.phpbrew/php/php-master/include/php/ext -I/root/.phpbrew/php/php-master/include/php/ext/date/lib -I/root/.phpbrew/build/php-master/ext/trace/extension/common -DHAVE_CONFIG_H -g -O2 -c /root/.phpbrew/build/php-master/ext/trace/extension/trace.c -o trace.lo
mkdir .libs
cc -I. -I/root/.phpbrew/build/php-master/ext/trace/extension -DPHP_ATOM_INC -I/root/.phpbrew/build/php-master/ext/trace/extension/include -I/root/.phpbrew/build/php-master/ext/trace/extension/main -I/root/.phpbrew/build/php-master/ext/trace/extension -I/root/.phpbrew/php/php-master/include/php -I/root/.phpbrew/php/php-master/include/php/main -I/root/.phpbrew/php/php-master/include/php/TSRM -I/root/.phpbrew/php/php-master/include/php/Zend -I/root/.phpbrew/php/php-master/include/php/ext -I/root/.phpbrew/php/php-master/include/php/ext/date/lib -I/root/.phpbrew/build/php-master/ext/trace/extension/common -DHAVE_CONFIG_H -g -O2 -c /root/.phpbrew/build/php-master/ext/trace/extension/trace.c -fPIC -DPIC -o .libs/trace.o
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘zm_startup_trace’:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:208:29: warning: assignment from incompatible pointer type [enabled by default]
pt_ori_execute_internal = zend_execute_internal;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:209:27: warning: assignment from incompatible pointer type [enabled by default]
zend_execute_internal = pt_execute_internal;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘zm_shutdown_trace’:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:248:27: warning: assignment from incompatible pointer type [enabled by default]
zend_execute_internal = pt_ori_execute_internal;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘pt_frame_build’:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:330:12: error: ‘zend_execute_data’ has no member named ‘function_state’
zf = ex->function_state.function;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:345:21: error: ‘zend_execute_data’ has no member named ‘object’
if (ex && ex->object) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:352:17: warning: passing argument 1 of ‘sdsnew’ from incompatible pointer type [enabled by default]
frame->class = sdsnew(zf->common.scope->name);
^
In file included from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_type.h:21:0,
from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_comm.h:22,
from /root/.phpbrew/build/php-master/ext/trace/extension/php_trace.h:37,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:24:
/root/.phpbrew/build/php-master/ext/trace/extension/common/sds/sds.h:58:5: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
sds sdsnew(const char *init);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:360:13: warning: passing argument 1 of ‘sdsnew’ from incompatible pointer type [enabled by default]
frame->class = sdsnew(zf->common.scope->name);
^
In file included from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_type.h:21:0,
from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_comm.h:22,
from /root/.phpbrew/build/php-master/ext/trace/extension/php_trace.h:37,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:24:
/root/.phpbrew/build/php-master/ext/trace/extension/common/sds/sds.h:58:5: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
sds sdsnew(const char *init);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default]
if (strcmp(zf->common.function_name, "{closure}") == 0) {
^
In file included from /root/.phpbrew/php/php-master/include/php/main/../main/php_config.h:2483:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_config.h:1,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_portability.h:48,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
extern size_t strlen (const char *__s)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
if (strcmp(zf->common.function_name, "{closure}") == 0) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default]
In file included from /root/.phpbrew/php/php-master/include/php/main/../main/php_config.h:2483:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_config.h:1,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_portability.h:48,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
extern size_t strlen (const char *__s)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
if (strcmp(zf->common.function_name, "{closure}") == 0) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:366:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default]
} else if (strcmp(zf->common.function_name, "__lambda_func") == 0) {
^
In file included from /root/.phpbrew/php/php-master/include/php/main/../main/php_config.h:2483:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_config.h:1,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_portability.h:48,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
extern size_t strlen (const char *__s)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
} else if (strcmp(zf->common.function_name, "__lambda_func") == 0) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default]
In file included from /root/.phpbrew/php/php-master/include/php/main/../main/php_config.h:2483:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_config.h:1,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_portability.h:48,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
extern size_t strlen (const char *__s)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
} else if (strcmp(zf->common.function_name, "__lambda_func") == 0) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [enabled by default]
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:368:9: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:376:65: error: ‘zend_execute_data’ has no member named ‘object’
frame->function = sdsnew(zend_resolve_method_name(ex->object ? Z_OBJCE_P(ex->object) : zf->common.scope, zf));
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31:0,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:376:88: error: ‘zend_execute_data’ has no member named ‘object’
frame->function = sdsnew(zend_resolve_method_name(ex->object ? Z_OBJCE_P(ex->object) : zf->common.scope, zf));
^
/root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:529:26: note: in definition of macro ‘Z_OBJ’
#define Z_OBJ(zval) (zval).value.obj
^
/root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:542:29: note: in expansion of macro ‘Z_OBJCE’
#define Z_OBJCE_P(zval_p) Z_OBJCE(*(zval_p))
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:376:76: note: in expansion of macro ‘Z_OBJCE_P’
frame->function = sdsnew(zend_resolve_method_name(ex->object ? Z_OBJCE_P(ex->object) : zf->common.scope, zf));
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:379:13: warning: passing argument 1 of ‘sdsnew’ from incompatible pointer type [enabled by default]
frame->function = sdsnew(zf->common.function_name);
^
In file included from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_type.h:21:0,
from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_comm.h:22,
from /root/.phpbrew/build/php-master/ext/trace/extension/php_trace.h:37,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:24:
/root/.phpbrew/build/php-master/ext/trace/extension/common/sds/sds.h:58:5: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
sds sdsnew(const char *init);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:390:21: error: ‘zend_execute_data’ has no member named ‘function_state’
if (ex && ex->function_state.arguments) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:391:58: error: ‘zend_execute_data’ has no member named ‘function_state’
frame->arg_count = (int)(zend_uintptr_t) *(ex->function_state.arguments);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:392:32: error: ‘zend_execute_data’ has no member named ‘function_state’
args = (zval **)(ex->function_state.arguments - frame->arg_count);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:453:13: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default]
frame->args[0] = sdscatrepr(sdsempty(), zf->op_array.filename, strlen(zf->op_array.filename));
^
In file included from /root/.phpbrew/php/php-master/include/php/main/../main/php_config.h:2483:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_config.h:1,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_portability.h:48,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_types.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:31,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
extern size_t strlen (const char *__s)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:453:13: warning: passing argument 2 of ‘sdscatrepr’ from incompatible pointer type [enabled by default]
frame->args[0] = sdscatrepr(sdsempty(), zf->op_array.filename, strlen(zf->op_array.filename));
^
In file included from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_type.h:21:0,
from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_comm.h:22,
from /root/.phpbrew/build/php-master/ext/trace/extension/php_trace.h:37,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:24:
/root/.phpbrew/build/php-master/ext/trace/extension/common/sds/sds.h:89:5: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
sds sdscatrepr(sds s, const char *p, size_t len);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:474:17: error: ‘zend_execute_data’ has no member named ‘op_array’
if (ex && ex->op_array) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:475:36: error: ‘zend_execute_data’ has no member named ‘op_array’
frame->filename = sdsnew(ex->op_array->filename);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:476:68: error: ‘zend_execute_data’ has no member named ‘op_array’
} else if (ex && ex->prev_execute_data && ex->prev_execute_data->op_array) {
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:477:55: error: ‘zend_execute_data’ has no member named ‘op_array’
frame->filename = sdsnew(ex->prev_execute_data->op_array->filename); /* try using prev */
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:479:9: warning: passing argument 1 of ‘sdsnew’ from incompatible pointer type [enabled by default]
frame->filename = sdsnew(op_array->filename);
^
In file included from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_type.h:21:0,
from /root/.phpbrew/build/php-master/ext/trace/extension/common/trace_comm.h:22,
from /root/.phpbrew/build/php-master/ext/trace/extension/php_trace.h:37,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:24:
/root/.phpbrew/build/php-master/ext/trace/extension/common/sds/sds.h:58:5: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
sds sdsnew(const char *init);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘pt_frame_set_retval’:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:517:26: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
retval = *fci->retval_ptr_ptr;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:519:60: error: invalid type argument of ‘->’ (have ‘int’)
retval = EX_TMP_VAR(ex, ex->opline->result.var)->var.ptr;
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_globals.h:28:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_compile.h:656,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_modules.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:26,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals’ has no member named ‘return_value_ptr_ptr’
# define EG(v) (executor_globals.v)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:530:17: note: in expansion of macro ‘EG’
} else if (*EG(return_value_ptr_ptr)) {
^
/root/.phpbrew/php/php-master/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals’ has no member named ‘return_value_ptr_ptr’
# define EG(v) (executor_globals.v)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:531:19: note: in expansion of macro ‘EG’
retval = *EG(return_value_ptr_ptr);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘pt_repr_zval’:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:755:14: error: ‘IS_BOOL’ undeclared (first use in this function)
case IS_BOOL:
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:755:14: note: each undeclared identifier is reported only once for each function it appears in
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:781:80: error: ‘zend_uint’ undeclared (first use in this function)
Z_OBJ_HANDLER(*zv, get_class_name)(zv, (const char **) &tstr, (zend_uint *) &tlen, 0 TSRMLS_CC);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:781:91: error: expected expression before ‘)’ token
Z_OBJ_HANDLER(*zv, get_class_name)(zv, (const char **) &tstr, (zend_uint *) &tlen, 0 TSRMLS_CC);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:781:91: warning: passing argument 1 of ‘zv->value.obj->handlers->get_class_name’ from incompatible pointer type [enabled by default]
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:781:91: note: expected ‘const struct zend_object *’ but argument is of type ‘struct zval *’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:781:91: error: too many arguments to function ‘zv->value.obj->handlers->get_class_name’
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:789:13: warning: passing argument 1 of ‘zend_rsrc_list_get_rsrc_type’ makes pointer from integer without a cast [enabled by default]
tstr = (char *) zend_rsrc_list_get_rsrc_type(Z_LVAL_P(zv) TSRMLS_CC);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:27:0,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_list.h:68:22: note: expected ‘struct zend_resource *’ but argument is of type ‘zend_long’
ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_globals.h:28:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_compile.h:656,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_modules.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:26,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c: In function ‘pt_execute_core’:
/root/.phpbrew/php/php-master/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals’ has no member named ‘return_value_ptr_ptr’
# define EG(v) (executor_globals.v)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:909:26: note: in expansion of macro ‘EG’
if (!internal && EG(return_value_ptr_ptr) == NULL) {
^
/root/.phpbrew/php/php-master/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals’ has no member named ‘return_value_ptr_ptr’
# define EG(v) (executor_globals.v)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:910:13: note: in expansion of macro ‘EG’
EG(return_value_ptr_ptr) = &retval;
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:943:17: warning: passing argument 2 of ‘execute_internal’ from incompatible pointer type [enabled by default]
execute_internal(execute_data, fci, rvu TSRMLS_CC);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:30:0,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_execute.h:42:15: note: expected ‘struct zval *’ but argument is of type ‘struct zend_fcall_info *’
ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:943:17: error: too many arguments to function ‘execute_internal’
execute_internal(execute_data, fci, rvu TSRMLS_CC);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:30:0,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_execute.h:42:15: note: declared here
ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:973:13: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [enabled by default]
zval_ptr_dtor(&retval);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend.h:39:0,
from /root/.phpbrew/php/php-master/include/php/main/php.h:35,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_variables.h:111:15: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
^
In file included from /root/.phpbrew/php/php-master/include/php/Zend/zend_globals.h:28:0,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_compile.h:656,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_modules.h:26,
from /root/.phpbrew/php/php-master/include/php/Zend/zend_API.h:26,
from /root/.phpbrew/php/php-master/include/php/main/php.h:39,
from /root/.phpbrew/build/php-master/ext/trace/extension/trace.c:21:
/root/.phpbrew/php/php-master/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals’ has no member named ‘return_value_ptr_ptr’
# define EG(v) (executor_globals.v)
^
/root/.phpbrew/build/php-master/ext/trace/extension/trace.c:974:13: note: in expansion of macro ‘EG’
EG(return_value_ptr_ptr) = NULL;
^
make: *** [trace.lo] Error 1
make: Leaving directory `/root/.phpbrew/build/php-master/ext/trace/extension'
feature