View Issue Details

IDProjectCategoryView StatusLast Update
0001237XdebugInstallationpublic2015-12-17 23:46
ReporterPiotr Zarycki Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionduplicate 
PlatformLinuxOSArch Linux 
Summary0001237: Xdebug doesn't compile with PHP 7.1 - dev
Description

Log attached
Branch: xdebug_2_3

TagsNo tags attached.
Attached Files
log (184,481 bytes)   
/bin/sh /home/piotr/xdebug/libtool --mode=compile cc  -I. -I/home/piotr/xdebug -DPHP_ATOM_INC -I/home/piotr/xdebug/include -I/home/piotr/xdebug/main -I/home/piotr/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/piotr/xdebug/xdebug.c -o xdebug.lo 
 cc -I. -I/home/piotr/xdebug -DPHP_ATOM_INC -I/home/piotr/xdebug/include -I/home/piotr/xdebug/main -I/home/piotr/xdebug -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/piotr/xdebug/xdebug.c  -fPIC -DPIC -o .libs/xdebug.o
In file included from /home/piotr/xdebug/php_xdebug.h:36:0,
                 from /home/piotr/xdebug/xdebug.c:52:
/home/piotr/xdebug/xdebug_code_coverage.h:63:1: warning: parameter names (without types) in function declaration
 int xdebug_check_branch_entry_handler(ZEND_OPCODE_HANDLER_ARGS);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:64:1: warning: parameter names (without types) in function declaration
 int xdebug_common_override_handler(ZEND_OPCODE_HANDLER_ARGS);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:69:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:70:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_add);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:71:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sub);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:72:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_mul);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:73:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_div);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:74:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_mod);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:76:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_pow);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:78:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sl);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:79:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sr);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:80:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_inc);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:81:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_inc);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:82:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_dec);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:83:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_dec);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:84:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_inc_obj);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:85:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_inc_obj);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:86:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_dec_obj);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:87:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_dec_obj);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:88:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_concat);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:89:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_bw_or);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:90:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_bw_and);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:91:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_bw_xor);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:92:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_dim);
 ^
/home/piotr/xdebug/xdebug_code_coverage.h:93:1: warning: parameter names (without types) in function declaration
 XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_obj);
 ^
/home/piotr/xdebug/xdebug.c:92:1: warning: parameter names (without types) in function declaration
 int xdebug_exit_handler(ZEND_OPCODE_HANDLER_ARGS);
 ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateServer’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:173:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(server);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:173:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(server);
  ^
/home/piotr/xdebug/xdebug_superglobals.h:31:35: note: each undeclared identifier is reported only once for each function it appears in
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:173:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(server);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:173:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(server);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateGet’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:178:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(get);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:178:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(get);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:178:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(get);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdatePost’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:183:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(post);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:183:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(post);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:183:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(post);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateCookie’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:188:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(cookie);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:188:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(cookie);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:188:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(cookie);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateFiles’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:193:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(files);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:193:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(files);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:193:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(files);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateEnv’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:198:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(env);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:198:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(env);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:198:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(env);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateRequest’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:203:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(request);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:203:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(request);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:203:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(request);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /home/piotr/xdebug/xdebug.c:61:0:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateSession’:
/home/piotr/xdebug/xdebug_superglobals.h:30:16: error: invalid operands to binary && (have ‘int’ and ‘zend_string {aka struct _zend_string}’)
  if (new_value && *new_value) { \
                ^
/home/piotr/xdebug/xdebug.c:208:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(session);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug_superglobals.h:31:35: error: ‘new_value_length’ undeclared (first use in this function)
   char *str = estrndup(new_value, new_value_length); \
                                   ^
/usr/local/include/php/Zend/zend_alloc.h:173:49: note: in definition of macro ‘estrndup’
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:208:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(session);
  ^
/usr/local/include/php/Zend/zend_alloc.h:173:43: warning: passing argument 1 of ‘_estrndup’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define estrndup(s, length)     _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                           ^
/home/piotr/xdebug/xdebug_superglobals.h:31:15: note: in expansion of macro ‘estrndup’
   char *str = estrndup(new_value, new_value_length); \
               ^
/home/piotr/xdebug/xdebug.c:208:2: note: in expansion of macro ‘DUMP_TOK’
  DUMP_TOK(session);
  ^
In file included from /usr/local/include/php/Zend/zend.h:33:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_alloc.h:85:31: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c: In function ‘OnUpdateDebugMode’:
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:216:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:216:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:216:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:216:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "jit") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:216:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:219:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:219:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:219:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:219:20: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  } else if (strcmp(new_value, "req") == 0) {
                    ^
/home/piotr/xdebug/xdebug.c:219:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c: In function ‘php_xdebug_init_globals’:
/home/piotr/xdebug/xdebug.c:364:27: warning: comparison of distinct pointer types lacks a cast
  if (sapi_module.ub_write != xdebug_ub_write) {
                           ^
/home/piotr/xdebug/xdebug.c:365:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   xdebug_orig_ub_write = sapi_module.ub_write;
                        ^
/home/piotr/xdebug/xdebug.c:366:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   sapi_module.ub_write = xdebug_ub_write;
                        ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_env_config’:
/home/piotr/xdebug/xdebug.c:487:25: warning: passing argument 1 of ‘zend_alter_ini_entry’ from incompatible pointer type [-Wincompatible-pointer-types]
    zend_alter_ini_entry(name, strlen(name) + 1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
                         ^
In file included from /usr/local/include/php/main/php_ini.h:24:0,
                 from /usr/local/include/php/main/fopen_wrappers.h:26,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_ini.h:77:14: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
              ^
/home/piotr/xdebug/xdebug.c:487:31: warning: passing argument 2 of ‘zend_alter_ini_entry’ makes pointer from integer without a cast [-Wint-conversion]
    zend_alter_ini_entry(name, strlen(name) + 1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
                               ^
In file included from /usr/local/include/php/main/php_ini.h:24:0,
                 from /usr/local/include/php/main/fopen_wrappers.h:26,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_ini.h:77:14: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘size_t {aka long unsigned int}’
 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
              ^
/home/piotr/xdebug/xdebug.c:487:49: warning: passing argument 3 of ‘zend_alter_ini_entry’ makes integer from pointer without a cast [-Wint-conversion]
    zend_alter_ini_entry(name, strlen(name) + 1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
                                                 ^
In file included from /usr/local/include/php/main/php_ini.h:24:0,
                 from /usr/local/include/php/main/fopen_wrappers.h:26,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_ini.h:77:14: note: expected ‘int’ but argument is of type ‘char *’
 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
              ^
/home/piotr/xdebug/xdebug.c:487:4: error: too many arguments to function ‘zend_alter_ini_entry’
    zend_alter_ini_entry(name, strlen(name) + 1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
    ^
In file included from /usr/local/include/php/main/php_ini.h:24:0,
                 from /usr/local/include/php/main/fopen_wrappers.h:26,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_ini.h:77:14: note: declared here
 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
              ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_silence_handler’:
/home/piotr/xdebug/xdebug.c:494:12: warning: type of ‘ZEND_OPCODE_HANDLER_ARGS’ defaults to ‘int’ [-Wimplicit-int]
 static int xdebug_silence_handler(ZEND_OPCODE_HANDLER_ARGS)
            ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:496:25: note: in expansion of macro ‘EG’
  zend_op *cur_opcode = *EG(opline_ptr);
                         ^
/home/piotr/xdebug/xdebug.c:499:33: error: ‘execute_data’ undeclared (first use in this function)
   xdebug_print_opcode_info('S', execute_data, cur_opcode TSRMLS_CC);
                                 ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_include_or_eval_handler’:
/home/piotr/xdebug/xdebug.c:513:12: warning: type of ‘ZEND_OPCODE_HANDLER_ARGS’ defaults to ‘int’ [-Wimplicit-int]
 static int xdebug_include_or_eval_handler(ZEND_OPCODE_HANDLER_ARGS)
            ^
/home/piotr/xdebug/xdebug.c:515:20: error: ‘execute_data’ undeclared (first use in this function)
  zend_op *opline = execute_data->opline;
                    ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:518:26: note: in expansion of macro ‘EG’
   zend_op *cur_opcode = *EG(opline_ptr);
                          ^
/home/piotr/xdebug/xdebug.c:533:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’
   if (inc_filename->type != IS_STRING) {
                   ^
/home/piotr/xdebug/xdebug.c: At top level:
/home/piotr/xdebug/xdebug.c:590:88: error: unknown type name ‘zend_uint’
 static int xdebug_closure_serialize_deny_wrapper(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data TSRMLS_DC)
                                                                                        ^
/home/piotr/xdebug/xdebug.c: In function ‘zm_startup_xdebug’:
/home/piotr/xdebug/xdebug.c:622:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  xdebug_old_execute_internal = zend_execute_internal;
                              ^
/home/piotr/xdebug/xdebug.c:623:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  zend_execute_internal = xdebug_execute_internal;
                        ^
In file included from /home/piotr/xdebug/php_xdebug.h:36:0,
                 from /home/piotr/xdebug/xdebug.c:52:
/home/piotr/xdebug/xdebug.c:658:37: error: ‘ZEND_RAISE_ABSTRACT_ERROR’ undeclared (first use in this function)
   XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_RAISE_ABSTRACT_ERROR);
                                     ^
/home/piotr/xdebug/xdebug_code_coverage.h:47:31: note: in definition of macro ‘XDEBUG_SET_OPCODE_OVERRIDE_COMMON’
  zend_set_user_opcode_handler(oc, xdebug_common_override_handler);
                               ^
/home/piotr/xdebug/xdebug.c:666:37: error: ‘ZEND_ADD_CHAR’ undeclared (first use in this function)
   XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_ADD_CHAR);
                                     ^
/home/piotr/xdebug/xdebug_code_coverage.h:47:31: note: in definition of macro ‘XDEBUG_SET_OPCODE_OVERRIDE_COMMON’
  zend_set_user_opcode_handler(oc, xdebug_common_override_handler);
                               ^
/home/piotr/xdebug/xdebug.c:667:37: error: ‘ZEND_ADD_STRING’ undeclared (first use in this function)
   XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_ADD_STRING);
                                     ^
/home/piotr/xdebug/xdebug_code_coverage.h:47:31: note: in definition of macro ‘XDEBUG_SET_OPCODE_OVERRIDE_COMMON’
  zend_set_user_opcode_handler(oc, xdebug_common_override_handler);
                               ^
/home/piotr/xdebug/xdebug.c:681:37: error: ‘ZEND_SWITCH_FREE’ undeclared (first use in this function)
   XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_SWITCH_FREE);
                                     ^
/home/piotr/xdebug/xdebug_code_coverage.h:47:31: note: in definition of macro ‘XDEBUG_SET_OPCODE_OVERRIDE_COMMON’
  zend_set_user_opcode_handler(oc, xdebug_common_override_handler);
                               ^
/home/piotr/xdebug/xdebug.c: In function ‘zm_shutdown_xdebug’:
/home/piotr/xdebug/xdebug.c:770:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  zend_execute_internal = xdebug_old_execute_internal;
                        ^
/home/piotr/xdebug/xdebug.c:810:33: error: ‘ZEND_RAISE_ABSTRACT_ERROR’ undeclared (first use in this function)
    zend_set_user_opcode_handler(ZEND_RAISE_ABSTRACT_ERROR, NULL);
                                 ^
/home/piotr/xdebug/xdebug.c:818:33: error: ‘ZEND_ADD_CHAR’ undeclared (first use in this function)
    zend_set_user_opcode_handler(ZEND_ADD_CHAR, NULL);
                                 ^
/home/piotr/xdebug/xdebug.c:819:33: error: ‘ZEND_ADD_STRING’ undeclared (first use in this function)
    zend_set_user_opcode_handler(ZEND_ADD_STRING, NULL);
                                 ^
/home/piotr/xdebug/xdebug.c:833:33: error: ‘ZEND_SWITCH_FREE’ undeclared (first use in this function)
    zend_set_user_opcode_handler(ZEND_SWITCH_FREE, NULL);
                                 ^
/home/piotr/xdebug/xdebug.c: In function ‘zm_activate_xdebug’:
/home/piotr/xdebug/xdebug.c:1006:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_ENV",     sizeof("_ENV")-1     TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1006:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_ENV",     sizeof("_ENV")-1     TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1007:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_GET",     sizeof("_GET")-1     TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1007:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_GET",     sizeof("_GET")-1     TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1008:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_POST",    sizeof("_POST")-1    TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1008:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_POST",    sizeof("_POST")-1    TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1009:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_COOKIE",  sizeof("_COOKIE")-1  TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1009:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_COOKIE",  sizeof("_COOKIE")-1  TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1010:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_REQUEST", sizeof("_REQUEST")-1 TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1010:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_REQUEST", sizeof("_REQUEST")-1 TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1011:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_FILES",   sizeof("_FILES")-1   TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1011:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_FILES",   sizeof("_FILES")-1   TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1012:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_SERVER",  sizeof("_SERVER")-1  TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1012:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_SERVER",  sizeof("_SERVER")-1  TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1013:22: warning: passing argument 1 of ‘zend_is_auto_global’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_is_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC);
                      ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
/home/piotr/xdebug/xdebug.c:1013:2: error: too many arguments to function ‘zend_is_auto_global’
  zend_is_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC);
  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:806:20: note: declared here
 ZEND_API zend_bool zend_is_auto_global(zend_string *name);
                    ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1021:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_GET] &&
     ^
/home/piotr/xdebug/xdebug.c:1022:52: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
                                                    ^
/home/piotr/xdebug/xdebug.c:1022:64: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
                                                                ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1022:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1024:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_POST] &&
     ^
/home/piotr/xdebug/xdebug.c:1025:53: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
                                                     ^
/home/piotr/xdebug/xdebug.c:1025:65: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
                                                                 ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1025:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP_NO_EXEC", sizeof("XDEBUG_SESSION_STOP_NO_EXEC"), (void **) &dummy) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1030:17: warning: passing argument 1 of ‘php_setcookie’ from incompatible pointer type [-Wincompatible-pointer-types]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                 ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:35: warning: passing argument 2 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                   ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long unsigned int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:61: warning: passing argument 3 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                             ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘time_t {aka long int}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:68: warning: passing argument 5 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                    ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:112: warning: passing argument 6 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:120: warning: passing argument 8 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                        ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘void *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1030:3: error: too many arguments to function ‘php_setcookie’
   php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
   ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: declared here
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:529:39: error: invalid type argument of unary ‘*’ (have ‘zval {aka struct _zval_struct}’)
 #define Z_ARRVAL_P(zval_p)   Z_ARRVAL(*(zval_p))
                                       ^
/usr/local/include/php/Zend/zend_types.h:525:26: note: in definition of macro ‘Z_ARR’
 #define Z_ARR(zval)     (zval).value.arr
                          ^
/usr/local/include/php/Zend/zend_types.h:529:30: note: in expansion of macro ‘Z_ARRVAL’
 #define Z_ARRVAL_P(zval_p)   Z_ARRVAL(*(zval_p))
                              ^
/home/piotr/xdebug/xdebug.c:1039:43: note: in expansion of macro ‘Z_ARRVAL_P’
  if (XG(default_enable) && zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_SOAPACTION", 16, (void**)&dummy) == FAILURE) {
                                           ^
/home/piotr/xdebug/xdebug.c:1039:92: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (XG(default_enable) && zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_SOAPACTION", 16, (void**)&dummy) == FAILURE) {
                                                                                            ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1039:28: error: too many arguments to function ‘zend_hash_find’
  if (XG(default_enable) && zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_SOAPACTION", 16, (void**)&dummy) == FAILURE) {
                            ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1074:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_hash_find(EG(function_table), "var_dump", 9, (void **)&orig);
                                     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1074:2: error: too many arguments to function ‘zend_hash_find’
  zend_hash_find(EG(function_table), "var_dump", 9, (void **)&orig);
  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1079:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_hash_find(EG(function_table), "set_time_limit", 15, (void **)&orig);
                                     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1079:2: error: too many arguments to function ‘zend_hash_find’
  zend_hash_find(EG(function_table), "set_time_limit", 15, (void **)&orig);
  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1086:31: error: ‘xdebug_closure_serialize_deny_wrapper’ undeclared (first use in this function)
  zend_ce_closure->serialize = xdebug_closure_serialize_deny_wrapper;
                               ^
/home/piotr/xdebug/xdebug.c: In function ‘zm_post_zend_deactivate_xdebug’:
/home/piotr/xdebug/xdebug.c:1163:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_hash_find(EG(function_table), "var_dump", 9, (void **)&orig);
                                     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1163:2: error: too many arguments to function ‘zend_hash_find’
  zend_hash_find(EG(function_table), "var_dump", 9, (void **)&orig);
  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1165:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
  zend_hash_find(EG(function_table), "set_time_limit", 15, (void **)&orig);
                                     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1165:2: error: too many arguments to function ‘zend_hash_find’
  zend_hash_find(EG(function_table), "set_time_limit", 15, (void **)&orig);
  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_trigger_enabled’:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1233:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_GET] &&
     ^
/home/piotr/xdebug/xdebug.c:1234:52: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                    ^
/home/piotr/xdebug/xdebug.c:1234:64: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                                ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1234:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1236:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_POST] &&
     ^
/home/piotr/xdebug/xdebug.c:1237:53: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                     ^
/home/piotr/xdebug/xdebug.c:1237:65: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                                 ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1237:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1239:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_COOKIE] &&
     ^
/home/piotr/xdebug/xdebug.c:1240:55: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                       ^
/home/piotr/xdebug/xdebug.c:1240:67: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
                                                                   ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1240:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, var_name, strlen(var_name) + 1, (void **) &trigger_val) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1244:23: warning: implicit declaration of function ‘Z_STRVAL_PP’ [-Wimplicit-function-declaration]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
/home/piotr/xdebug/xdebug.c:1244:23: note: expected ‘const char *’ but argument is of type ‘int’
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
/home/piotr/xdebug/xdebug.c:1244:23: note: expected ‘const char *’ but argument is of type ‘int’
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
/home/piotr/xdebug/xdebug.c:1244:23: note: expected ‘const char *’ but argument is of type ‘int’
/home/piotr/xdebug/xdebug.c:1244:23: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast [-Wint-conversion]
    (strcmp(var_value, Z_STRVAL_PP(trigger_val)) == 0)
                       ^
/home/piotr/xdebug/xdebug.c:1244:23: note: expected ‘const char *’ but argument is of type ‘int’
/home/piotr/xdebug/xdebug.c: In function ‘add_used_variables’:
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1270:105: error: request for member ‘name’ in something not a structure or union
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                                                         ^
/home/piotr/xdebug/xdebug.c:1270:79: note: in expansion of macro ‘xdstrdup’
   xdebug_llist_insert_next(fse->used_vars, XDEBUG_LLIST_TAIL(fse->used_vars), xdstrdup(op_array->vars[i].name));
                                                                               ^
/home/piotr/xdebug/xdebug.c:1280:18: error: too many arguments to function ‘zend_get_compiled_variable_name’
    cv = (char *) zend_get_compiled_variable_name(op_array, op_array->opcodes[i].op1.var, &cv_len);
                  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:714:23: note: declared here
 ZEND_API zend_string *zend_get_compiled_variable_name(const zend_op_array *op_array, uint32_t var);
                       ^
/home/piotr/xdebug/xdebug.c:1284:18: error: too many arguments to function ‘zend_get_compiled_variable_name’
    cv = (char *) zend_get_compiled_variable_name(op_array, op_array->opcodes[i].op2.var, &cv_len);
                  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_compile.h:714:23: note: declared here
 ZEND_API zend_string *zend_get_compiled_variable_name(const zend_op_array *op_array, uint32_t var);
                       ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_throw_exception_hook’:
/home/piotr/xdebug/xdebug.c:1306:17: warning: implicit declaration of function ‘zend_get_class_entry’ [-Wimplicit-function-declaration]
  exception_ce = zend_get_class_entry(exception TSRMLS_CC);
                 ^
/home/piotr/xdebug/xdebug.c:1306:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  exception_ce = zend_get_class_entry(exception TSRMLS_CC);
               ^
/home/piotr/xdebug/xdebug.c:1308:12: error: too few arguments to function ‘zend_read_property’
  code =    zend_read_property(default_ce, exception, "code",    sizeof("code")-1,    0 TSRMLS_CC);
            ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
/home/piotr/xdebug/xdebug.c:1309:12: error: too few arguments to function ‘zend_read_property’
  message = zend_read_property(default_ce, exception, "message", sizeof("message")-1, 0 TSRMLS_CC);
            ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
/home/piotr/xdebug/xdebug.c:1310:12: error: too few arguments to function ‘zend_read_property’
  file =    zend_read_property(default_ce, exception, "file",    sizeof("file")-1,    0 TSRMLS_CC);
            ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
/home/piotr/xdebug/xdebug.c:1311:12: error: too few arguments to function ‘zend_read_property’
  line =    zend_read_property(default_ce, exception, "line",    sizeof("line")-1,    0 TSRMLS_CC);
            ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1321:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&message);
  ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1321:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&message);
  ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /usr/local/include/php/Zend/zend.h:341:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1321:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&message);
  ^
/usr/local/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
                             ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1322:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&file);
  ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1322:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&file);
  ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /usr/local/include/php/Zend/zend.h:341:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1322:2: note: in expansion of macro ‘convert_to_string_ex’
  convert_to_string_ex(&file);
  ^
/usr/local/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
                             ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/local/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/home/piotr/xdebug/xdebug.c:1323:2: note: in expansion of macro ‘convert_to_long_ex’
  convert_to_long_ex(&line);
  ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /usr/local/include/php/Zend/zend.h:341:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1323:21: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types]
  convert_to_long_ex(&line);
                     ^
/usr/local/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’
   convert_to_##lower_type(pzv);      \
                           ^
/home/piotr/xdebug/xdebug.c:1323:2: note: in expansion of macro ‘convert_to_long_ex’
  convert_to_long_ex(&line);
  ^
/usr/local/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL convert_to_long(zval *op);
                             ^
/home/piotr/xdebug/xdebug.c:1325:23: error: too few arguments to function ‘zend_read_property’
  previous_exception = zend_read_property(default_ce, exception, "previous", sizeof("previous")-1, 1 TSRMLS_CC);
                       ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
/home/piotr/xdebug/xdebug.c:1327:26: error: too few arguments to function ‘zend_read_property’
   xdebug_message_trace = zend_read_property(default_ce, previous_exception, "xdebug_message", sizeof("xdebug_message")-1, 1 TSRMLS_CC);
                          ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:356:16: note: declared here
 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
                ^
/home/piotr/xdebug/xdebug.c:1336:61: warning: passing argument 3 of ‘xdebug_append_error_description’ from incompatible pointer type [-Wincompatible-pointer-types]
  xdebug_append_error_description(&tmp_str, PG(html_errors), exception_ce->name, Z_STRVAL_P(message), Z_STRVAL_P(file), Z_LVAL_P(line) TSRMLS_CC);
                                                             ^
In file included from /home/piotr/xdebug/xdebug.c:60:0:
/home/piotr/xdebug/xdebug_stack.h:28:6: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 void xdebug_append_error_description(xdebug_str *str, int html, const char *error_type_str, char *buffer, const char *error_filename, const int error_lineno TSRMLS_DC);
      ^
/home/piotr/xdebug/xdebug.c:1348:21: warning: passing argument 1 of ‘xdebug_log_stack’ from incompatible pointer type [-Wincompatible-pointer-types]
    xdebug_log_stack(exception_ce->name, Z_STRVAL_P(message), Z_STRVAL_P(file), Z_LVAL_P(line) TSRMLS_CC);
                     ^
In file included from /home/piotr/xdebug/xdebug.c:60:0:
/home/piotr/xdebug/xdebug_stack.h:31:6: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 void xdebug_log_stack(const char *error_type_str, char *buffer, const char *error_filename, const int error_lineno TSRMLS_DC);
      ^
In file included from /home/piotr/xdebug/xdebug_handlers.h:25:0,
                 from /home/piotr/xdebug/php_xdebug.h:32,
                 from /home/piotr/xdebug/xdebug.c:52:
/home/piotr/xdebug/xdebug.c:1376:91: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
     if (xdebug_hash_find(XG(context).exception_breakpoints, (char *) ce_ptr->name, strlen(ce_ptr->name), (void *) &extra_brk_info)) {
                                                                                           ^
/home/piotr/xdebug/xdebug_hash.h:73:80: note: in definition of macro ‘xdebug_hash_find’
 #define xdebug_hash_find(h, key, key_len, p) xdebug_hash_extended_find(h, key, key_len, 0, p)
                                                                                ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_execute_ex’:
/home/piotr/xdebug/xdebug.c:1450:47: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘op_array’
  zend_op_array        *op_array = execute_data->op_array;
                                               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
/home/piotr/xdebug/xdebug.c:1469:70: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
/home/piotr/xdebug/xdebug.c:1469:70: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
/home/piotr/xdebug/xdebug.c:1469:70: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:1469:70: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (op_array && op_array->filename && strcmp("xdebug://debug-eval", op_array->filename) == 0) {
                                                                      ^
/home/piotr/xdebug/xdebug.c:1469:70: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
/home/piotr/xdebug/xdebug.c:1490:39: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [-Wincompatible-pointer-types]
   XG(context).program_name = xdstrdup(op_array->filename);
                                       ^
/home/piotr/xdebug/xdebug.c:1490:30: note: in expansion of macro ‘xdstrdup’
   XG(context).program_name = xdstrdup(op_array->filename);
                              ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1490:39: warning: passing argument 1 of ‘__strdup’ from incompatible pointer type [-Wincompatible-pointer-types]
   XG(context).program_name = xdstrdup(op_array->filename);
                                       ^
/home/piotr/xdebug/xdebug.c:1490:30: note: in expansion of macro ‘xdstrdup’
   XG(context).program_name = xdstrdup(op_array->filename);
                              ^
/usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
 extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1497:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_GET] &&
     ^
/home/piotr/xdebug/xdebug.c:1498:52: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
                                                    ^
/home/piotr/xdebug/xdebug.c:1498:64: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
                                                                ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1498:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1500:5: note: in expansion of macro ‘PG’
     PG(http_globals)[TRACK_VARS_POST] &&
     ^
/home/piotr/xdebug/xdebug.c:1501:53: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
                                                     ^
/home/piotr/xdebug/xdebug.c:1501:65: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
                                                                 ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1501:5: error: too many arguments to function ‘zend_hash_find’
     zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_START", sizeof("XDEBUG_SESSION_START"), (void **) &dummy) == SUCCESS
     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1505:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1505:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /usr/local/include/php/Zend/zend.h:341:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1505:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
                             ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1506:28: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1506:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1506:28: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1506:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:42:14: note: expected ‘const void * restrict’ but argument is of type ‘int’
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1506:28: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1506:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
/usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘int’
 extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
              ^
/home/piotr/xdebug/xdebug.c:1510:27: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1510:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1510:27: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1510:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:42:14: note: expected ‘const void * restrict’ but argument is of type ‘int’
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1510:27: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1510:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
/usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘int’
 extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
              ^
/home/piotr/xdebug/xdebug.c:1511:82: warning: implicit declaration of function ‘Z_STRLEN_PP’ [-Wimplicit-function-declaration]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                  ^
/home/piotr/xdebug/xdebug.c:1511:18: warning: passing argument 1 of ‘php_setcookie’ from incompatible pointer type [-Wincompatible-pointer-types]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                  ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:36: warning: passing argument 2 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                    ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long unsigned int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:82: warning: passing argument 4 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                  ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:102: warning: passing argument 5 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                      ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:146: warning: passing argument 6 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                                                  ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:154: warning: passing argument 8 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                                                          ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘void *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1511:4: error: too many arguments to function ‘php_setcookie’
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), Z_STRVAL_PP(dummy), Z_STRLEN_PP(dummy), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
    ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: declared here
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1513:4: note: in expansion of macro ‘PG’
    PG(http_globals)[TRACK_VARS_COOKIE] &&
    ^
/home/piotr/xdebug/xdebug.c:1514:54: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
    zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, "XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), (void **) &dummy) == SUCCESS
                                                      ^
/home/piotr/xdebug/xdebug.c:1514:66: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
    zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, "XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), (void **) &dummy) == SUCCESS
                                                                  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1514:4: error: too many arguments to function ‘zend_hash_find’
    zend_hash_find(PG(http_globals)[TRACK_VARS_COOKIE]->value.ht, "XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), (void **) &dummy) == SUCCESS
    ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/Zend/zend.h:31:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1516:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
/usr/local/include/php/Zend/zend_types.h:338:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                       ^
/usr/local/include/php/Zend/zend_types.h:339:28: note: in expansion of macro ‘Z_TYPE’
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/local/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1516:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_types.h:328:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /usr/local/include/php/Zend/zend.h:341:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types]
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                   ^
/usr/local/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’
   convert_to_##lower_type(pzv);      \
   ^
/usr/local/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/home/piotr/xdebug/xdebug.c:1516:4: note: in expansion of macro ‘convert_to_string_ex’
    convert_to_string_ex(dummy);
    ^
/usr/local/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
                             ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1517:28: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1517:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1517:28: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1517:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:42:14: note: expected ‘const void * restrict’ but argument is of type ‘int’
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1517:28: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast [-Wint-conversion]
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                            ^
/home/piotr/xdebug/xdebug.c:1517:19: note: in expansion of macro ‘xdstrdup’
    magic_cookie = xdstrdup(Z_STRVAL_PP(dummy));
                   ^
/usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘int’
 extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
              ^
/home/piotr/xdebug/xdebug.c:1521:27: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1521:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1521:27: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1521:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
In file included from /usr/local/include/php/main/../main/php_config.h:2487:0,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/include/string.h:42:14: note: expected ‘const void * restrict’ but argument is of type ‘int’
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^
In file included from /usr/include/string.h:630:0,
                 from /usr/local/include/php/main/../main/php_config.h:2487,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend_portability.h:48,
                 from /usr/local/include/php/Zend/zend_types.h:27,
                 from /usr/local/include/php/Zend/zend.h:31,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c:1521:27: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast [-Wint-conversion]
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                           ^
/home/piotr/xdebug/xdebug.c:1521:18: note: in expansion of macro ‘xdstrdup’
    XG(ide_key) = xdstrdup(Z_STRVAL_PP(dummy));
                  ^
/usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘int’
 extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
              ^
/home/piotr/xdebug/xdebug.c:1525:19: warning: passing argument 1 of ‘php_setcookie’ from incompatible pointer type [-Wincompatible-pointer-types]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                   ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:37: warning: passing argument 2 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                     ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long unsigned int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
In file included from /home/piotr/xdebug/xdebug.c:52:0:
/home/piotr/xdebug/php_xdebug.h:280:15: warning: passing argument 3 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
 #define XG(v) (xdebug_globals.v)
               ^
/home/piotr/xdebug/xdebug.c:1525:63: note: in expansion of macro ‘XG’
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                               ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘time_t {aka long int}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:76: warning: passing argument 4 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                            ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘size_t {aka long unsigned int}’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:97: warning: passing argument 5 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                 ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:141: warning: passing argument 6 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                                             ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:149: warning: passing argument 8 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                                                     ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘void *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1525:5: error: too many arguments to function ‘php_setcookie’
     php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), XG(ide_key), strlen(XG(ide_key)), time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
     ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: declared here
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1534:6: note: in expansion of macro ‘PG’
      PG(http_globals)[TRACK_VARS_GET] &&
      ^
/home/piotr/xdebug/xdebug.c:1535:53: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
      zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
                                                     ^
/home/piotr/xdebug/xdebug.c:1535:65: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
      zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
                                                                 ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1535:6: error: too many arguments to function ‘zend_hash_find’
      zend_hash_find(PG(http_globals)[TRACK_VARS_GET]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
      ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:396,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/main/php_globals.h:32:16: error: used struct type value where scalar is required
 # define PG(v) (core_globals.v)
                ^
/home/piotr/xdebug/xdebug.c:1537:6: note: in expansion of macro ‘PG’
      PG(http_globals)[TRACK_VARS_POST] &&
      ^
/home/piotr/xdebug/xdebug.c:1538:54: error: invalid type argument of ‘->’ (have ‘zval {aka struct _zval_struct}’)
      zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
                                                      ^
/home/piotr/xdebug/xdebug.c:1538:66: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
      zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
                                                                  ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1538:6: error: too many arguments to function ‘zend_hash_find’
      zend_hash_find(PG(http_globals)[TRACK_VARS_POST]->value.ht, "XDEBUG_SESSION_STOP", sizeof("XDEBUG_SESSION_STOP"), (void **) &dummy) == SUCCESS
      ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1547:18: warning: passing argument 1 of ‘php_setcookie’ from incompatible pointer type [-Wincompatible-pointer-types]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                  ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:36: warning: passing argument 2 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                    ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long unsigned int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:62: warning: passing argument 3 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                              ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘time_t {aka long int}’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:69: warning: passing argument 5 of ‘php_setcookie’ makes pointer from integer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                     ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘long int’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:113: warning: passing argument 6 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                 ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘char *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:121: warning: passing argument 8 of ‘php_setcookie’ makes integer from pointer without a cast [-Wint-conversion]
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
                                                                                                                         ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: expected ‘int’ but argument is of type ‘void *’
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
/home/piotr/xdebug/xdebug.c:1547:4: error: too many arguments to function ‘php_setcookie’
    php_setcookie("XDEBUG_SESSION", sizeof("XDEBUG_SESSION"), "", 0, time(NULL) + XG(remote_cookie_expire_time), "/", 1, NULL, 0, 0, 1, 0 TSRMLS_CC);
    ^
In file included from /home/piotr/xdebug/xdebug.c:42:0:
/usr/local/include/php/ext/standard/head.h:41:12: note: declared here
 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly);
            ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_symbol_table’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1593:22: note: in expansion of macro ‘EG’
  fse->symbol_table = EG(active_symbol_table);
                      ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘This’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1599:14: note: in expansion of macro ‘EG’
  fse->This = EG(This);
              ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1639:7: note: in expansion of macro ‘EG’
  if (!EG(return_value_ptr_ptr)) {
       ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1640:3: note: in expansion of macro ‘EG’
   EG(return_value_ptr_ptr) = &return_val;
   ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1665:7: note: in expansion of macro ‘EG’
   if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) {
       ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1665:36: note: in expansion of macro ‘EG’
   if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) {
                                    ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1669:103: note: in expansion of macro ‘EG’
      XG(trace_handler)->generator_return_value(XG(trace_context), fse, function_nr, (zend_generator*) EG(return_value_ptr_ptr) TSRMLS_CC);
                                                                                                       ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1673:76: note: in expansion of macro ‘EG’
      XG(trace_handler)->return_value(XG(trace_context), fse, function_nr, *EG(return_value_ptr_ptr) TSRMLS_CC);
                                                                            ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1681:16: note: in expansion of macro ‘EG’
  if (clear && *EG(return_value_ptr_ptr)) {
                ^
In file included from /usr/local/include/php/Zend/zend.h:39:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/usr/local/include/php/Zend/zend_variables.h:122:49: note: in definition of macro ‘zval_ptr_dtor’
 #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                 ^
/home/piotr/xdebug/xdebug.c:1682:17: note: in expansion of macro ‘EG’
   zval_ptr_dtor(EG(return_value_ptr_ptr));
                 ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1683:3: note: in expansion of macro ‘EG’
   EG(return_value_ptr_ptr) = NULL;
   ^
/home/piotr/xdebug/xdebug.c: In function ‘check_soap_call’:
/home/piotr/xdebug/xdebug.c:1710:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
   (zend_hash_find(&module_registry, "soap", 5, (void**) &tmp_mod_entry) == SUCCESS)
                                     ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c:1710:4: error: too many arguments to function ‘zend_hash_find’
   (zend_hash_find(&module_registry, "soap", 5, (void**) &tmp_mod_entry) == SUCCESS)
    ^
In file included from /usr/local/include/php/Zend/zend.h:36:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_execute_internal’:
/home/piotr/xdebug/xdebug.c:1737:43: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘op_array’
  fse = xdebug_add_stack_frame(edata, edata->op_array, XDEBUG_INTERNAL TSRMLS_CC);
                                           ^
/home/piotr/xdebug/xdebug.c:1772:42: warning: passing argument 2 of ‘execute_internal’ from incompatible pointer type [-Wincompatible-pointer-types]
   execute_internal(current_execute_data, fci, return_value_used TSRMLS_CC);
                                          ^
In file included from /usr/local/include/php/Zend/zend_API.h:31:0,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_execute.h:43:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘struct _zend_fcall_info *’
 ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
               ^
/home/piotr/xdebug/xdebug.c:1772:3: error: too many arguments to function ‘execute_internal’
   execute_internal(current_execute_data, fci, return_value_used TSRMLS_CC);
   ^
In file included from /usr/local/include/php/Zend/zend_API.h:31:0,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_execute.h:43:15: note: declared here
 ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
               ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1790:78: note: in expansion of macro ‘EG’
  if (XG(collect_return) && do_return && XG(do_trace) && XG(trace_context) && EG(opline_ptr) && current_execute_data->opline) {
                                                                              ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1791:17: note: in expansion of macro ‘EG’
   cur_opcode = *EG(opline_ptr);
                 ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_exit_handler’:
/home/piotr/xdebug/xdebug.c:1814:5: warning: type of ‘ZEND_OPCODE_HANDLER_ARGS’ defaults to ‘int’ [-Wimplicit-int]
 int xdebug_exit_handler(ZEND_OPCODE_HANDLER_ARGS)
     ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_var_dump’:
/home/piotr/xdebug/xdebug.c:1920:65: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (ZEND_NUM_ARGS() == 0 || zend_get_parameters_array_ex(argc, args) == FAILURE) {
                                                                 ^
/usr/local/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’
  _zend_get_parameters_array_ex(param_count, argument_array)
                                             ^
/usr/local/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
 ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
              ^
/home/piotr/xdebug/xdebug.c:1927:24: warning: passing argument 1 of ‘php_var_dump’ from incompatible pointer type [-Wincompatible-pointer-types]
    xdebug_php_var_dump(args[i], 1 TSRMLS_CC);
                        ^
In file included from /home/piotr/xdebug/xdebug_compat.h:24:0,
                 from /home/piotr/xdebug/xdebug.c:27:
/usr/local/include/php/ext/standard/php_var.h:35:13: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
 PHPAPI void php_var_dump(zval *struc, int level);
             ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_debug_zval’:
/home/piotr/xdebug/xdebug.c:1963:65: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (ZEND_NUM_ARGS() == 0 || zend_get_parameters_array_ex(argc, args) == FAILURE) {
                                                                 ^
/usr/local/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’
  _zend_get_parameters_array_ex(param_count, argument_array)
                                             ^
/usr/local/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
 ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
              ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_symbol_table’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1968:7: note: in expansion of macro ‘EG’
  if (!EG(active_symbol_table)) {
       ^
/home/piotr/xdebug/xdebug.c:1973:7: warning: implicit declaration of function ‘Z_TYPE_PP’ [-Wimplicit-function-declaration]
   if (Z_TYPE_PP(args[i]) == IS_STRING) {
       ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_symbol_table’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:1974:30: note: in expansion of macro ‘EG’
    XG(active_symbol_table) = EG(active_symbol_table);
                              ^
/home/piotr/xdebug/xdebug.c:1975:38: warning: passing argument 1 of ‘xdebug_get_php_symbol’ makes pointer from integer without a cast [-Wint-conversion]
    debugzval = xdebug_get_php_symbol(Z_STRVAL_PP(args[i]), Z_STRLEN_PP(args[i]) + 1 TSRMLS_CC);
                                      ^
In file included from /home/piotr/xdebug/xdebug.c:58:0:
/home/piotr/xdebug/xdebug_var.h:52:7: note: expected ‘char *’ but argument is of type ‘int’
 zval* xdebug_get_php_symbol(char* name, int name_length TSRMLS_DC);
       ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_debug_zval_stdout’:
/home/piotr/xdebug/xdebug.c:2015:65: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (ZEND_NUM_ARGS() == 0 || zend_get_parameters_array_ex(argc, args) == FAILURE) {
                                                                 ^
/usr/local/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’
  _zend_get_parameters_array_ex(param_count, argument_array)
                                             ^
/usr/local/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
 ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
              ^
In file included from /usr/local/include/php/Zend/zend_globals.h:28:0,
                 from /usr/local/include/php/Zend/zend_compile.h:688,
                 from /usr/local/include/php/Zend/zend_modules.h:26,
                 from /usr/local/include/php/Zend/zend_API.h:27,
                 from /usr/local/include/php/main/php.h:39,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_symbol_table’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:2020:7: note: in expansion of macro ‘EG’
  if (!EG(active_symbol_table)) {
       ^
/usr/local/include/php/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_symbol_table’
 # define EG(v) (executor_globals.v)
                                 ^
/home/piotr/xdebug/xdebug.c:2026:30: note: in expansion of macro ‘EG’
    XG(active_symbol_table) = EG(active_symbol_table);
                              ^
/home/piotr/xdebug/xdebug.c:2027:38: warning: passing argument 1 of ‘xdebug_get_php_symbol’ makes pointer from integer without a cast [-Wint-conversion]
    debugzval = xdebug_get_php_symbol(Z_STRVAL_PP(args[i]), Z_STRLEN_PP(args[i]) + 1 TSRMLS_CC);
                                      ^
In file included from /home/piotr/xdebug/xdebug.c:58:0:
/home/piotr/xdebug/xdebug_var.h:52:7: note: expected ‘char *’ but argument is of type ‘int’
 zval* xdebug_get_php_symbol(char* name, int name_length TSRMLS_DC);
       ^
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_get_collected_errors’:
/home/piotr/xdebug/xdebug.c:2099:3: error: too many arguments to function ‘add_next_index_string’
   add_next_index_string(return_value, string, 1);
   ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:433:14: note: declared here
 ZEND_API int add_next_index_string(zval *arg, const char *str);
              ^
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_get_headers’:
/home/piotr/xdebug/xdebug.c:2116:3: error: too many arguments to function ‘add_next_index_string’
   add_next_index_string(return_value, string, 1);
   ^
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /home/piotr/xdebug/xdebug.c:25:
/usr/local/include/php/Zend/zend_API.h:433:14: note: declared here
 ZEND_API int add_next_index_string(zval *arg, const char *str);
              ^
/home/piotr/xdebug/xdebug.c: In function ‘zif_xdebug_get_profiler_filename’:
/home/piotr/xdebug/xdebug.c:2124:40: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
   RETURN_STRING(XG(profile_filename), 1);
                                        ^
/home/piotr/xdebug/xdebug.c:2124:3: error: ‘RETURN_STRING’ undeclared (first use in this function)
   RETURN_STRING(XG(profile_filename), 1);
   ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_hook_output_handlers’:
/home/piotr/xdebug/xdebug.c:2308:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   xdebug_orig_ub_write = sapi_module.ub_write;
                        ^
/home/piotr/xdebug/xdebug.c:2309:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   sapi_module.ub_write = xdebug_ub_write;
                        ^
/home/piotr/xdebug/xdebug.c: In function ‘xdebug_unhook_output_handlers’:
/home/piotr/xdebug/xdebug.c:2320:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  sapi_module.ub_write = xdebug_orig_ub_write;
                       ^
Makefile:226: polecenia dla obiektu 'xdebug.lo' nie powiodły się
make: *** [xdebug.lo] Błąd 1
log (184,481 bytes)   
Operating System
PHP Version7.0.0-7.0.4

Relationships

duplicate of 0001235 closedderick Xdebug does not compile against PHP 7.1-dev 

Activities

derick

2015-12-17 23:46

administrator   ~0003357

This is a duplicate of 0001235.

Issue History

Date Modified Username Field Change
2015-12-17 22:11 Piotr Zarycki New Issue
2015-12-17 22:11 Piotr Zarycki File Added: log
2015-12-17 23:46 derick Note Added: 0003357
2015-12-17 23:46 derick Relationship added duplicate of 0001235
2015-12-17 23:46 derick Status new => resolved
2015-12-17 23:46 derick Resolution open => duplicate
2015-12-17 23:46 derick Assigned To => derick