php-ext.com / aop (from pecl using PHP 7.4.16-buster)

Dockerfile
FROM php:7.4.16-buster
WORKDIR /tmp
RUN apt update && \
    apt install -y --no-install-recommends git subversion autoconf build-essential && \
    apt install -y --no-install-recommends libpcre3-dev && \
    rm -rf /var/lib/apt/lists/*
RUN pecl install --force aop && \
    pecl run-tests aop
Build output FAIL 12ss
Step 1/4 : FROM php:7.4.16-buster
---> 5f58d719d4ac
Step 2/4 : WORKDIR /tmp
---> Running in 7afc8cd518af
Removing intermediate container 7afc8cd518af
---> 9f1dc81f46f0
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libpcre3-dev && rm -rf /var/lib/apt/lists/*
---> Running in b1c6810e96b3

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [268 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [9504 B]
Fetched 8423 kB in 1s (5643 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.


WARNING: 
apt
 
does not have a stable CLI interface. 
Use with caution in scripts.




Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-11).
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
git-man libapr1 libaprutil1 libcurl3-gnutls liberror-perl libexpat1
libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-cvs git-mediawiki git-svn db5.3-util
libapache2-mod-svn subversion-tools
Recommended packages:
less ssh-client
The following NEW packages will be installed:
build-essential git git-man libapr1 libaprutil1 libcurl3-gnutls
liberror-perl libexpat1 libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
subversion
0 upgraded, 13 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 50.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u1 [330 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:8 http://security.debian.org/debian-security buster/updates/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 10.7 MB in 0s (87.8 MB/s)
Selecting previously unselected package build-essential.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
12690 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../01-libcurl3-gnutls_7.64.0-4+deb10u1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../02-libexpat1_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../03-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../04-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../05-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../06-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../07-libapr1_1.6.5-1+b1_amd64.deb ...
Unpacking libapr1:amd64 (1.6.5-1+b1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../08-libaprutil1_1.6.1-4_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.1-4) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../09-libserf-1-1_1.3.9-7+b10_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-7+b10) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../10-libutf8proc2_2.3.0-1_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.3.0-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../11-libsvn1_1.10.4-1+deb10u2_amd64.deb ...
Unpacking libsvn1:amd64 (1.10.4-1+deb10u2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../12-subversion_1.10.4-1+deb10u2_amd64.deb ...
Unpacking subversion (1.10.4-1+deb10u2) ...
Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...
Setting up libutf8proc2:amd64 (2.3.0-1) ...
Setting up libapr1:amd64 (1.6.5-1+b1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u1) ...
Setting up liberror-perl (0.17027-2) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up build-essential (12.6) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libaprutil1:amd64 (1.6.1-4) ...
Setting up libserf-1-1:amd64 (1.3.9-7+b10) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libsvn1:amd64 (1.10.4-1+deb10u2) ...
Setting up subversion (1.10.4-1+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...


WARNING: 
apt
 
does not have a stable CLI interface. 
Use with caution in scripts.




Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
libpcre16-3 libpcre32-3 libpcrecpp0v5
The following NEW packages will be installed:
libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1310 kB of archives.
After this operation, 3571 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 libpcre16-3 amd64 2:8.39-12 [259 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libpcre32-3 amd64 2:8.39-12 [250 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libpcrecpp0v5 amd64 2:8.39-12 [152 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpcre3-dev amd64 2:8.39-12 [650 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 1310 kB in 0s (37.3 MB/s)
Selecting previously unselected package libpcre16-3:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
13812 files and directories currently installed.)
Preparing to unpack .../libpcre16-3_2%3a8.39-12_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../libpcre32-3_2%3a8.39-12_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../libpcrecpp0v5_2%3a8.39-12_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../libpcre3-dev_2%3a8.39-12_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.39-12) ...
Setting up libpcrecpp0v5:amd64 (2:8.39-12) ...
Setting up libpcre16-3:amd64 (2:8.39-12) ...
Setting up libpcre32-3:amd64 (2:8.39-12) ...
Setting up libpcre3-dev:amd64 (2:8.39-12) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container b1c6810e96b3
---> f8ed54bc2750
Step 4/4 : RUN pecl install --force aop && pecl run-tests aop
---> Running in 84ce7291f2e1
WARNING: failed to download pecl.php.net/aop within preferred state "stable", will instead download version 0.2.2b1, stability "beta"
downloading AOP-0.2.2b1.tgz ...
Starting to download AOP-0.2.2b1.tgz (2,855,061 bytes)
.
.
.
.
.
.
.
.
.
...done: 2,855,061 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
building in /tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1
running: /tmp/pear/temp/AOP/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable AOP support... yes, shared
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1/libtool --mode=compile cc  -I. -I/tmp/pear/temp/AOP -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1/include -I/tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1/main -I/tmp/pear/temp/AOP -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 /tmp/pear/temp/AOP/aop.c -o aop.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/AOP -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1/include -I/tmp/pear/temp/pear-build-defaultuserqQykO6/AOP-0.2.2b1/main -I/tmp/pear/temp/AOP -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 /tmp/pear/temp/AOP/aop.c  -fPIC -DPIC -o .libs/aop.o
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:82:11: error: unknown type name 'zend_literal'
const zend_literal *key;
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:97:5: error: unknown type name 'pcre'
pcre *re_method;
^~~~
/tmp/pear/temp/AOP/aop.h:98:5: error: unknown type name 'pcre'
pcre *re_class;
^~~~
/tmp/pear/temp/AOP/aop.h:138:11: error: unknown type name 'zend_literal'
const zend_literal *key;
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:248:78: note: in expansion of macro 'AOP_KEY_D'
static zval * (*zend_std_read_property)(zval *object, zval *member, int type AOP_KEY_D TSRMLS_DC);
^~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:248:17: error: 'zend_std_read_property' redeclared as different kind of symbol
static zval * (*zend_std_read_property)(zval *object, zval *member, int type AOP_KEY_D TSRMLS_DC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:355,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:213:16: note: previous declaration of 'zend_std_read_property' was here
ZEND_API zval *zend_std_read_property(zval *object, zval *member, int type, void **cache_slot, zval *rv);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:249:76: note: in expansion of macro 'AOP_KEY_D'
static zval ** (*zend_std_get_property_ptr_ptr)(zval *object, zval *member AOP_KEY_D TSRMLS_DC);
^~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:249:18: error: 'zend_std_get_property_ptr_ptr' redeclared as different kind of symbol
static zval ** (*zend_std_get_property_ptr_ptr)(zval *object, zval *member AOP_KEY_D TSRMLS_DC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:355,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:212:16: note: previous declaration of 'zend_std_get_property_ptr_ptr' was here
ZEND_API zval *zend_std_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:250:144: note: in expansion of macro 'AOP_KEY_D'
static zval * test_read_pointcut_and_execute(int current_pointcut_index, zval *object, zval *member, int type, zend_class_entry *current_scope AOP_KEY_D);
^~~~~~~~~
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:251:146: note: in expansion of macro 'AOP_KEY_D'
static void test_write_pointcut_and_execute(int current_pointcut_index, zval *object, zval *member, zval *value, zend_class_entry *current_scope AOP_KEY_D);
^~~~~~~~~
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.h:255:90: note: in expansion of macro 'AOP_KEY_D'
static int test_property_scope (pointcut *current_pc, zend_class_entry *ce, zval *member AOP_KEY_D);
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:84:1: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value aop_create_handler(zend_class_entry *type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/AOP/aop.c: In function 'aop_create_handler':
/tmp/pear/temp/AOP/aop.c:86:5: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/AOP/aop.c:95:11: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(obj, NULL,
^
/tmp/pear/temp/AOP/aop.c:95:44: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(obj, NULL,
^~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'AopJoinpoint_object *' {aka 'struct <anonymous> *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/AOP/aop.c:95:21: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(obj, NULL,
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:97:11: error: request for member 'handlers' in something not a structure or union
retval.handlers = &AopJoinpoint_object_handlers;
^
/tmp/pear/temp/AOP/aop.c: In function 'get_aopJoinpoint':
/tmp/pear/temp/AOP/aop.c:157:63: warning: implicit declaration of function 'zend_object_store_get_object'; did you mean 'zend_objects_store_destroy'? [-Wimplicit-function-declaration]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(aop_object TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_destroy
/tmp/pear/temp/AOP/aop.c:157:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(aop_object TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:175:5: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration]
MAKE_STD_ZVAL(aop_object);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:176:26: error: lvalue required as left operand of assignment
Z_TYPE_P(aop_object) = IS_OBJECT;
^
/tmp/pear/temp/AOP/aop.c:177:29: warning: assignment to 'zend_object *' {aka 'struct _zend_object *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
(aop_object)->value.obj = aop_create_handler(aop_class_entry TSRMLS_CC);
^
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:183:88: note: in expansion of macro 'AOP_KEY_D'
ZEND_DLEXPORT zval **zend_std_get_property_ptr_ptr_overload(zval *object, zval *member AOP_KEY_D TSRMLS_DC) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:195:91: note: in expansion of macro 'AOP_KEY_D'
ZEND_DLEXPORT zval * zend_std_read_property_overload(zval *object, zval *member, int type AOP_KEY_D TSRMLS_DC) {
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c: In function 'zend_std_read_property_overload':
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:202:77: note: in expansion of macro 'EG'
to_return = test_read_pointcut_and_execute(0, object, member, type, EG(scope) AOP_KEY_C);
^~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:210:92: note: in expansion of macro 'AOP_KEY_D'
static int get_pointcuts_read_properties(zval *object, zval *member, pointcut ***pointcuts AOP_KEY_D) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'make_matching_ht':
/tmp/pear/temp/AOP/aop.c:253:23: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = ex->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:256:64: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types]
while (zend_hash_get_current_data_ex(aop_g(aop_functions), (void **)&temp, &pos) == SUCCESS) {
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' {aka 'unsigned int *'} but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:256:12: error: too many arguments to function 'zend_hash_get_current_data_ex'
while (zend_hash_get_current_data_ex(aop_g(aop_functions), (void **)&temp, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:262:46: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_next_index_insert (ht, temp, sizeof(pointcut **), NULL);
^~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:134:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'pointcut **' {aka 'struct <anonymous> **'}
ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:262:13: error: too many arguments to function 'zend_hash_next_index_insert'
zend_hash_next_index_insert (ht, temp, sizeof(pointcut **), NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:134:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'get_matching_ht':
/tmp/pear/temp/AOP/aop.c:276:5: error: unknown type name 'zend_object_handle'; did you mean 'zend_object_handlers'?
zend_object_handle handle;
^~~~~~~~~~~~~~~~~~
zend_object_handlers
/tmp/pear/temp/AOP/aop.c:282:23: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = ex->function_state.function;
^~
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:284:42: warning: passing argument 1 of '_estrdup' from incompatible pointer type [-Wincompatible-pointer-types]
func_name = estrdup(curr_func->common.function_name);
/usr/local/include/php/Zend/zend_alloc.h:170:36: note: in definition of macro 'estrdup'
#define estrdup(s)       _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_alloc.h:82:31: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
ZEND_API char*  ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:296:50: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_find(aop_g(cache_func)[handle],func_name, strlen(func_name), (void **)&cache);
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175: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);
^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:296:9: error: too many arguments to function 'zend_hash_find'
zend_hash_find(aop_g(cache_func)[handle],func_name, strlen(func_name), (void **)&cache);
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:300:53: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_del(aop_g(cache_func)[handle],func_name, strlen(func_name));
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:70: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
~~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:300:13: error: too many arguments to function 'zend_hash_del'
zend_hash_del(aop_g(cache_func)[handle],func_name, strlen(func_name));
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:28: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:307:37: error: 'HashTable' {aka 'struct _zend_array'} has no member named 'nApplyCount'
cache->count = cache->ht->nApplyCount;
^~
/tmp/pear/temp/AOP/aop.c:311:50: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_add(aop_g(cache_func)[handle], func_name, strlen(func_name), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:311:61: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_add(aop_g(cache_func)[handle], func_name, strlen(func_name), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'size_t' {aka 'long unsigned int'}
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:311:9: error: too many arguments to function 'zend_hash_add'
zend_hash_add(aop_g(cache_func)[handle], func_name, strlen(func_name), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function '_test_func_pointcut_and_execute':
/tmp/pear/temp/AOP/aop.c:335:61: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_get_current_data_ex(aop_g(aop_functions), (void **)&temp, &pos) != SUCCESS) {
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' {aka 'unsigned int *'} but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:335:9: error: too many arguments to function 'zend_hash_get_current_data_ex'
if (zend_hash_get_current_data_ex(aop_g(aop_functions), (void **)&temp, &pos) != SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:345:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:378:23: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_object *' {aka 'struct _zend_object *'} [-Wincompatible-pointer-types]
exception = EG(exception);
^
/tmp/pear/temp/AOP/aop.c:382:27: warning: assignment to 'zend_object *' {aka 'struct _zend_object *'} from incompatible pointer type 'zval *' {aka 'struct _zval_struct *'} [-Wincompatible-pointer-types]
EG(exception) = exception;
^
/tmp/pear/temp/AOP/aop.c: In function 'test_func_pointcut_and_execute':
/tmp/pear/temp/AOP/aop.c:414:9: error: too many arguments to function 'zend_hash_index_find'
if (zend_hash_index_find(aop_g(aop_functions), current_pointcut_index, (void **)&temp)!=SUCCESS) {
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:177:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:422:23: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = ex->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:430:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:461:23: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_object *' {aka 'struct _zend_object *'} [-Wincompatible-pointer-types]
exception = EG(exception);
^
/tmp/pear/temp/AOP/aop.c:465:27: warning: assignment to 'zend_object *' {aka 'struct _zend_object *'} from incompatible pointer type 'zval *' {aka 'struct _zval_struct *'} [-Wincompatible-pointer-types]
EG(exception) = exception;
^
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:479:143: note: in expansion of macro 'AOP_KEY_D'
static zval *test_read_pointcut_and_execute(int current_pointcut_index, zval *object, zval *member, int type, zend_class_entry *current_scope AOP_KEY_D) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'test_read_pointcut_and_execute':
/tmp/pear/temp/AOP/aop.c:483:5: error: unknown type name 'zend_object_handle'; did you mean 'zend_object_handlers'?
zend_object_handle handle = Z_OBJ_HANDLE_P(object);
^~~~~~~~~~~~~~~~~~
zend_object_handlers
/tmp/pear/temp/AOP/aop.c:492:9: warning: implicit declaration of function 'ALLOC_ZVAL'; did you mean 'ALLOCA_FLAG'? [-Wimplicit-function-declaration]
ALLOC_ZVAL(tmp_member);
^~~~~~~~~~
ALLOCA_FLAG
/tmp/pear/temp/AOP/aop.c:494:9: warning: implicit declaration of function 'INIT_PZVAL'; did you mean 'ZVAL_ZVAL'? [-Wimplicit-function-declaration]
INIT_PZVAL(tmp_member);
^~~~~~~~~~
ZVAL_ZVAL
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:515:66: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_find(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), (void **)&cache);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175: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);
^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:515:9: error: too many arguments to function 'zend_hash_find'
zend_hash_find(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), (void **)&cache);
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175: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:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:519:69: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_del(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member));
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:70: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
~~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:519:13: error: too many arguments to function 'zend_hash_del'
zend_hash_del(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member));
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:28: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:525:65: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_add(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:53:31: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
#define ZSTR_LEN(zstr)  (zstr)->len
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:689:27: note: in expansion of macro 'ZSTR_LEN'
#define Z_STRLEN(zval)    ZSTR_LEN(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:690:30: note: in expansion of macro 'Z_STRLEN'
#define Z_STRLEN_P(zval_p)   Z_STRLEN(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:525:85: note: in expansion of macro 'Z_STRLEN_P'
zend_hash_add(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'size_t' {aka 'long unsigned int'}
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:525:9: error: too many arguments to function 'zend_hash_add'
zend_hash_add(aop_g(cache_read_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:530:17: note: in expansion of macro 'EG'
scope = EG(scope);
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:531:16: note: in expansion of macro 'EG'
temp = EG(This);
                ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
 # define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:532:9: note: in expansion of macro 'EG'
         EG(scope) = current_scope;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:533:9: note: in expansion of macro 'EG'
         EG(This) = object;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:535:9: note: in expansion of macro 'EG'
         EG(This) = temp;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:536:9: note: in expansion of macro 'EG'
         EG(scope) = scope;
         ^~
/tmp/pear/temp/AOP/aop.c:542:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
^
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:572:90: note: in expansion of macro 'AOP_KEY_D'
static int test_property_scope (pointcut *current_pc, zend_class_entry *ce, zval *member AOP_KEY_D) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'test_property_scope':
/tmp/pear/temp/AOP/aop.c:578:18: error: request for member 'hash_value' in something not a structure or union
h = key ? key->hash_value : zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
^~
/tmp/pear/temp/AOP/aop.c:578:33: warning: implicit declaration of function 'zend_get_hash_value'; did you mean 'zend_ini_get_value'? [-Wimplicit-function-declaration]
h = key ? key->hash_value : zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
^~~~~~~~~~~~~~~~~~~
zend_ini_get_value
/tmp/pear/temp/AOP/aop.c:580:9: warning: implicit declaration of function 'zend_hash_quick_find'; did you mean 'zend_hash_find_ind'? [-Wimplicit-function-declaration]
if (zend_hash_quick_find(&ce->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &property_info)==SUCCESS) {
^~~~~~~~~~~~~~~~~~~~
zend_hash_find_ind
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:610:93: note: in expansion of macro 'AOP_KEY_D'
static int get_pointcuts_write_properties(zval *object, zval *member, pointcut ***pointcuts AOP_KEY_D) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:646:146: note: in expansion of macro 'AOP_KEY_D'
static void test_write_pointcut_and_execute(int current_pointcut_index, zval *object, zval *member, zval *value, zend_class_entry *current_scope AOP_KEY_D) {
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'test_write_pointcut_and_execute':
/tmp/pear/temp/AOP/aop.c:649:5: error: unknown type name 'zend_object_handle'; did you mean 'zend_object_handlers'?
zend_object_handle handle = Z_OBJ_HANDLE_P(object);
^~~~~~~~~~~~~~~~~~
zend_object_handlers
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:683:67: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_find(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), (void **)&cache);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175: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);
^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:683:9: error: too many arguments to function 'zend_hash_find'
zend_hash_find(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), (void **)&cache);
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:175: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:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:688:70: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_del(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member));
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:70: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
~~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:688:13: error: too many arguments to function 'zend_hash_del'
zend_hash_del(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member));
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:167:28: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:52:31: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
#define ZSTR_VAL(zstr)  (zstr)->val
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL'
#define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL'
#define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:694:66: note: in expansion of macro 'Z_STRVAL_P'
zend_hash_add(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:32,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_string.h:53:31: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
#define ZSTR_LEN(zstr)  (zstr)->len
~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:689:27: note: in expansion of macro 'ZSTR_LEN'
#define Z_STRLEN(zval)    ZSTR_LEN(Z_STR(zval))
^~~~~~~~
/usr/local/include/php/Zend/zend_types.h:690:30: note: in expansion of macro 'Z_STRLEN'
#define Z_STRLEN_P(zval_p)   Z_STRLEN(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:694:86: note: in expansion of macro 'Z_STRLEN_P'
zend_hash_add(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'size_t' {aka 'long unsigned int'}
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:694:9: error: too many arguments to function 'zend_hash_add'
zend_hash_add(aop_g(cache_write_properties)[handle]->ht, Z_STRVAL_P(member), Z_STRLEN_P(member), cache, sizeof(pointcut_cache), NULL);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:698:17: note: in expansion of macro 'EG'
         scope = EG(scope);
                 ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:699:16: note: in expansion of macro 'EG'
         temp = EG(This);
                ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:700:9: note: in expansion of macro 'EG'
         EG(scope) = current_scope;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:701:9: note: in expansion of macro 'EG'
         EG(This) = object;
         ^~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:63:24: warning: passing argument 4 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types]
#define AOP_KEY_C    , key
                        ^~~
/tmp/pear/temp/AOP/aop.c:702:53: note: in expansion of macro 'AOP_KEY_C'
         zend_std_write_property(object,member,value AOP_KEY_C TSRMLS_CC);
                                                     ^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:355,
from /usr/local/include/php/main/php.h:33,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:214:16: note: expected 'void **' but argument is of type 'const int *'
 ZEND_API zval *zend_std_write_property(zval *object, zval *member, zval *value, void **cache_slot);
                ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
                 from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:703:9: note: in expansion of macro 'EG'
         EG(This) = temp;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:704:9: note: in expansion of macro 'EG'
         EG(scope) = scope;
         ^~
/tmp/pear/temp/AOP/aop.c:710:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (AopJoinpoint_object *)zend_object_store_get_object(aop_object TSRMLS_CC);
           ^
/tmp/pear/temp/AOP/aop.c: In function 'execute_pointcut':
/tmp/pear/temp/AOP/aop.c:745:29: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'retval_ptr_ptr'
pointcut_to_execute->fci.retval_ptr_ptr = &zret_ptr;
^
/tmp/pear/temp/AOP/aop.c:746:37: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zval ***' {aka 'struct _zval_struct ***'} [-Wincompatible-pointer-types]
pointcut_to_execute->fci.params = (zval ***)args;
^
/tmp/pear/temp/AOP/aop.c:751:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(arg TSRMLS_CC);
^
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.c: At top level:
/tmp/pear/temp/AOP/aop.h:62:30: error: unknown type name 'zend_literal'
#define AOP_KEY_D    , const zend_literal *key
^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:756:93: note: in expansion of macro 'AOP_KEY_D'
ZEND_DLEXPORT void zend_std_write_property_overload(zval *object, zval *member, zval *value AOP_KEY_D TSRMLS_DC) {
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c: In function 'zend_std_write_property_overload':
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:762:67: note: in expansion of macro 'EG'
         test_write_pointcut_and_execute(0, object, member, value, EG(scope) AOP_KEY_C);
                                                                   ^~
In file included from /tmp/pear/temp/AOP/aop.c:25:
/tmp/pear/temp/AOP/aop.h:63:24: warning: passing argument 4 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types]
#define AOP_KEY_C    , key
                        ^~~
/tmp/pear/temp/AOP/aop.c:765:55: note: in expansion of macro 'AOP_KEY_C'
         zend_std_write_property(object, member, value AOP_KEY_C TSRMLS_CC);
                                                       ^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:355,
from /usr/local/include/php/main/php.h:33,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:214:16: note: expected 'void **' but argument is of type 'const int *'
 ZEND_API zval *zend_std_write_property(zval *object, zval *member, zval *value, void **cache_slot);
                ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'zm_startup_aop':
/tmp/pear/temp/AOP/aop.c:777:36: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
aop_class_entry->create_object = aop_create_handler;
^
/tmp/pear/temp/AOP/aop.c:805:40: error: assignment of member 'write_property' in read-only object
std_object_handlers.write_property = zend_std_write_property_overload;
^
/tmp/pear/temp/AOP/aop.c:806:28: warning: assignment to 'zval * (*)(zval *, zval *, int,  const int *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int,  const int *)'} from incompatible pointer type 'zend_object_read_property_t' {aka 'struct _zval_struct * (* const)(struct _zval_struct *, struct _zval_struct *, int,  void **, struct _zval_struct *)'} [-Wincompatible-pointer-types]
zend_std_read_property = std_object_handlers.read_property;
^
/tmp/pear/temp/AOP/aop.c:807:39: error: assignment of member 'read_property' in read-only object
std_object_handlers.read_property = zend_std_read_property_overload;
^
/tmp/pear/temp/AOP/aop.c:809:35: warning: assignment to 'zval ** (*)(zval *, zval *, const int *)' {aka 'struct _zval_struct ** (*)(struct _zval_struct *, struct _zval_struct *, const int *)'} from incompatible pointer type 'zend_object_get_property_ptr_ptr_t' {aka 'struct _zval_struct * (* const)(struct _zval_struct *, struct _zval_struct *, int,  void **)'} [-Wincompatible-pointer-types]
zend_std_get_property_ptr_ptr = std_object_handlers.get_property_ptr_ptr;
^
/tmp/pear/temp/AOP/aop.c:810:46: error: assignment of member 'get_property_ptr_ptr' in read-only object
std_object_handlers.get_property_ptr_ptr = zend_std_get_property_ptr_ptr_overload;
^
/tmp/pear/temp/AOP/aop.c:812:19: warning: assignment to 'void (*)(zend_op_array *)' {aka 'void (*)(struct _zend_op_array *)'} from incompatible pointer type 'void (*)(zend_op_array *, zval *)' {aka 'void (*)(struct _zend_op_array *, struct _zval_struct *)'} [-Wincompatible-pointer-types]
_zend_execute = zend_execute;
^
/tmp/pear/temp/AOP/aop.c:813:19: error: lvalue required as left operand of assignment
zend_execute  = aop_execute;
^
/tmp/pear/temp/AOP/aop.c:814:28: warning: assignment to 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' {aka 'void (*)(struct _zend_execute_data *, struct _zend_fcall_info *, int)'} from incompatible pointer type 'void (*)(zend_execute_data *, zval *)' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} [-Wincompatible-pointer-types]
     _zend_execute_internal = zend_execute_internal;
                            ^
/tmp/pear/temp/AOP/aop.c:815:28: warning: assignment to 'void (*)(zend_execute_data *, zval *)' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} from incompatible pointer type 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' {aka 'void (*)(struct _zend_execute_data *, struct _zend_fcall_info *, int)'} [-Wincompatible-pointer-types]
     zend_execute_internal  = aop_execute_internal;
                            ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getPropertyName':
/tmp/pear/temp/AOP/aop.c:825:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getArguments':
/tmp/pear/temp/AOP/aop.c:836:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_setArguments':
/tmp/pear/temp/AOP/aop.c:850:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getKindOfAdvice':
/tmp/pear/temp/AOP/aop.c:866:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getPointcut':
/tmp/pear/temp/AOP/aop.c:871:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c:872:53: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
     RETURN_STRING(obj->current_pointcut->selector, 1);
                                                     ^
/tmp/pear/temp/AOP/aop.c:872:5: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
     RETURN_STRING(obj->current_pointcut->selector, 1);
     ^~~~~~~~~~~~~
     ZEND_STR_STRING
/tmp/pear/temp/AOP/aop.c:872:5: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getReturnedValue':
/tmp/pear/temp/AOP/aop.c:877:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c:885:24: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
         zval_ptr_dtor (return_value_ptr);
                        ^~~~~~~~~~~~~~~~
                        return_value
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getAssignedValue':
/tmp/pear/temp/AOP/aop.c:893:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c:898:24: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
         zval_ptr_dtor (return_value_ptr);
                        ^~~~~~~~~~~~~~~~
                        return_value
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_setAssignedValue':
/tmp/pear/temp/AOP/aop.c:908:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_setReturnedValue':
/tmp/pear/temp/AOP/aop.c:923:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getObject':
/tmp/pear/temp/AOP/aop.c:938:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
                                ^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getClassName':
/tmp/pear/temp/AOP/aop.c:947:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:951:38: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
RETURN_STRING(ce->name, 1);
^
/tmp/pear/temp/AOP/aop.c:951:13: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
RETURN_STRING(ce->name, 1);
^~~~~~~~~~~~~
ZEND_STR_STRING
/tmp/pear/temp/AOP/aop.c:960:25: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = data->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:963:38: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
RETURN_STRING(ce->name, 1);
^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getFunctionName':
/tmp/pear/temp/AOP/aop.c:970:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:979:21: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = data->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:980:53: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
RETURN_STRING(curr_func->common.function_name, 1);
^
/tmp/pear/temp/AOP/aop.c:980:5: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
RETURN_STRING(curr_func->common.function_name, 1);
^~~~~~~~~~~~~
ZEND_STR_STRING
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getException':
/tmp/pear/temp/AOP/aop.c:984:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_getMethodName':
/tmp/pear/temp/AOP/aop.c:997:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:1006:21: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = data->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:1007:53: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
RETURN_STRING(curr_func->common.function_name, 1);
^
/tmp/pear/temp/AOP/aop.c:1007:5: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
RETURN_STRING(curr_func->common.function_name, 1);
^~~~~~~~~~~~~
ZEND_STR_STRING
/tmp/pear/temp/AOP/aop.c: In function 'zim_AopJoinpoint_process':
/tmp/pear/temp/AOP/aop.c:1011:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:1023:13: error: unknown type name 'zend_literal'; did you mean 'zend_label'?
zend_literal *key = NULL;
^~~~~~~~~~~~
zend_label
/tmp/pear/temp/AOP/aop.c:1030:13: error: unknown type name 'zend_literal'; did you mean 'zend_label'?
zend_literal *key = NULL;
^~~~~~~~~~~~
zend_label
/tmp/pear/temp/AOP/aop.c: In function 'add_pointcut':
/tmp/pear/temp/AOP/aop.c:1092:61: warning: passing argument 3 of 'zend_hash_index_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_index_update(aop_g(aop_functions), count, &pc, sizeof(pointcut **),NULL);
^~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:133:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'pointcut **' {aka 'struct <anonymous> **'}
ZEND_API zval* ZEND_FASTCALL zend_hash_index_update(HashTable *ht, zend_ulong h, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1092:9: error: too many arguments to function 'zend_hash_index_update'
zend_hash_index_update(aop_g(aop_functions), count, &pc, sizeof(pointcut **),NULL);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:133:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_index_update(HashTable *ht, zend_ulong h, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'make_regexp_on_pointcut':
/tmp/pear/temp/AOP/aop.c:1103:5: error: unknown type name 'pcre_extra'; did you mean 'pcre2_match'?
pcre_extra *pcre_extra = NULL;
^~~~~~~~~~
pcre2_match
/tmp/pear/temp/AOP/aop.c:1114:14: warning: implicit declaration of function 'php_str_to_str_ex'; did you mean 'php_str_to_str'? [-Wimplicit-function-declaration]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
^~~~~~~~~~~~~~~~~
php_str_to_str
/tmp/pear/temp/AOP/aop.c:1114:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1115:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "**", 2, "[.#]", 4, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1116:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "\\", 1, "\\\\", 2, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1117:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "*", 1, "[^\\\\]*", 6, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1118:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "[.#]", 4, ".*", 2, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1119:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "[.#}", 4, "(.*\\\\)?", 7, new_length, 0, replace_count);
^
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_alloc.h:170:26: warning: passing argument 1 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
#define estrdup(s)       _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1122:48: note: in expansion of macro 'estrdup'
(*pc)->re_method = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1122:69: warning: passing argument 2 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
(*pc)->re_method = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int **'
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1122:24: error: too many arguments to function 'pcre_get_compiled_regex'
(*pc)->re_method = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: declared here
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1122:22: warning: assignment to 'int *' from incompatible pointer type 'pcre2_code_8 *' {aka 'struct pcre2_real_code_8 *'} [-Wincompatible-pointer-types]
(*pc)->re_method = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c:1128:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1129:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "**", 2, "[.#]", 4, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1130:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "\\", 1, "\\\\", 2, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1131:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "*", 1, "[^\\\\]*", 6, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1132:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "[.#]", 4, ".*", 2, new_length, 0, replace_count);
^
/tmp/pear/temp/AOP/aop.c:1133:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
regexp = php_str_to_str_ex(regexp, strlen(regexp), "[.#}", 4, "(.*\\\\)?", 7, new_length, 0, replace_count);
^
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_alloc.h:170:26: warning: passing argument 1 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
#define estrdup(s)       _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1136:51: note: in expansion of macro 'estrdup'
(*pc)->re_class = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1136:72: warning: passing argument 2 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
(*pc)->re_class = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int **'
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1136:27: error: too many arguments to function 'pcre_get_compiled_regex'
(*pc)->re_class = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/AOP/aop.c:24:
/usr/local/include/php/ext/pcre/php_pcre.h:31:20: note: declared here
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1136:25: warning: assignment to 'int *' from incompatible pointer type 'pcre2_code_8 *' {aka 'struct pcre2_real_code_8 *'} [-Wincompatible-pointer-types]
(*pc)->re_class = pcre_get_compiled_regex(estrdup(tempregexp), &pcre_extra, &preg_options TSRMLS_CC);
^
/tmp/pear/temp/AOP/aop.c: In function 'zif_aop_add_around':
/tmp/pear/temp/AOP/aop.c:1294:56: warning: excess elements in struct initializer
zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
^~~~
/tmp/pear/temp/AOP/aop.c:1294:56: note: (near initialization for 'fcic')
/tmp/pear/temp/AOP/aop.c:1301:9: error: used struct type value where scalar is required
if (fci.function_name) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1302:23: error: incompatible type for argument 1 of 'zval_addref_p'
Z_ADDREF_P(fci.function_name);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/usr/local/include/php/Zend/zend_types.h:1068:56: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval' {aka 'struct _zval_struct'}
static zend_always_inline uint32_t zval_addref_p(zval* pz) {
~~~~~~^~
/tmp/pear/temp/AOP/aop.c:1304:13: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
if (fci.object_ptr) {
^~~~~~~~~~
object
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1305:24: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
Z_ADDREF_P(fci.object_ptr);
^~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/tmp/pear/temp/AOP/aop.c:1307:70: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AROUND, return_value_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~
return_value
/tmp/pear/temp/AOP/aop.c: In function 'zif_aop_add_before':
/tmp/pear/temp/AOP/aop.c:1313:57: warning: excess elements in struct initializer
zend_fcall_info_cache fcic = { 0, NULL, NULL, NULL, NULL };
^~~~
/tmp/pear/temp/AOP/aop.c:1313:57: note: (near initialization for 'fcic')
/tmp/pear/temp/AOP/aop.c:1320:9: error: used struct type value where scalar is required
if (fci.function_name) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1321:23: error: incompatible type for argument 1 of 'zval_addref_p'
Z_ADDREF_P(fci.function_name);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/usr/local/include/php/Zend/zend_types.h:1068:56: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval' {aka 'struct _zval_struct'}
static zend_always_inline uint32_t zval_addref_p(zval* pz) {
~~~~~~^~
/tmp/pear/temp/AOP/aop.c:1323:13: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
if (fci.object_ptr) {
^~~~~~~~~~
object
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1324:24: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
Z_ADDREF_P(fci.object_ptr);
^~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/tmp/pear/temp/AOP/aop.c:1326:70: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_BEFORE, return_value_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~
return_value
/tmp/pear/temp/AOP/aop.c: In function 'zif_aop_add_after_throwing':
/tmp/pear/temp/AOP/aop.c:1332:56: warning: excess elements in struct initializer
zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
^~~~
/tmp/pear/temp/AOP/aop.c:1332:56: note: (near initialization for 'fcic')
/tmp/pear/temp/AOP/aop.c:1339:9: error: used struct type value where scalar is required
if (fci.function_name) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1340:23: error: incompatible type for argument 1 of 'zval_addref_p'
Z_ADDREF_P(fci.function_name);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/usr/local/include/php/Zend/zend_types.h:1068:56: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval' {aka 'struct _zval_struct'}
static zend_always_inline uint32_t zval_addref_p(zval* pz) {
~~~~~~^~
/tmp/pear/temp/AOP/aop.c:1342:13: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
if (fci.object_ptr) {
^~~~~~~~~~
object
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1343:24: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
Z_ADDREF_P(fci.object_ptr);
^~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/tmp/pear/temp/AOP/aop.c:1346:84: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_CATCH, return_value_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~
return_value
/tmp/pear/temp/AOP/aop.c: In function 'zif_aop_add_after_returning':
/tmp/pear/temp/AOP/aop.c:1353:56: warning: excess elements in struct initializer
zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
^~~~
/tmp/pear/temp/AOP/aop.c:1353:56: note: (near initialization for 'fcic')
/tmp/pear/temp/AOP/aop.c:1360:9: error: used struct type value where scalar is required
if (fci.function_name) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1361:23: error: incompatible type for argument 1 of 'zval_addref_p'
Z_ADDREF_P(fci.function_name);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/usr/local/include/php/Zend/zend_types.h:1068:56: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval' {aka 'struct _zval_struct'}
static zend_always_inline uint32_t zval_addref_p(zval* pz) {
~~~~~~^~
/tmp/pear/temp/AOP/aop.c:1363:13: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
if (fci.object_ptr) {
^~~~~~~~~~
object
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1364:24: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
Z_ADDREF_P(fci.object_ptr);
^~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/tmp/pear/temp/AOP/aop.c:1367:85: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_RETURN, return_value_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~
return_value
/tmp/pear/temp/AOP/aop.c: In function 'zif_aop_add_after':
/tmp/pear/temp/AOP/aop.c:1374:56: warning: excess elements in struct initializer
zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
^~~~
/tmp/pear/temp/AOP/aop.c:1374:56: note: (near initialization for 'fcic')
/tmp/pear/temp/AOP/aop.c:1381:9: error: used struct type value where scalar is required
if (fci.function_name) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1382:23: error: incompatible type for argument 1 of 'zval_addref_p'
Z_ADDREF_P(fci.function_name);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/usr/local/include/php/Zend/zend_types.h:1068:56: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval' {aka 'struct _zval_struct'}
static zend_always_inline uint32_t zval_addref_p(zval* pz) {
~~~~~~^~
/tmp/pear/temp/AOP/aop.c:1384:13: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
if (fci.object_ptr) {
^~~~~~~~~~
object
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1385:24: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
Z_ADDREF_P(fci.object_ptr);
^~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
^~
/tmp/pear/temp/AOP/aop.c:1387:100: error: 'return_value_ptr' undeclared (first use in this function); did you mean 'return_value'?
add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_CATCH|AOP_KIND_RETURN, return_value_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~
return_value
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c: In function 'aop_execute':
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1393:24: note: in expansion of macro 'EG'
int must_return = (EG(return_value_ptr_ptr)!=NULL);
^~
/tmp/pear/temp/AOP/aop.c:1397:25: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = data->function_state.function;
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1403:10: note: in expansion of macro 'EG'
if (!EG(return_value_ptr_ptr)) {
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1404:9: note: in expansion of macro 'EG'
EG(return_value_ptr_ptr) = emalloc(sizeof(zval *));
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1405:11: note: in expansion of macro 'EG'
*(EG(return_value_ptr_ptr)) = NULL;
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1408:75: note: in expansion of macro 'EG'
_test_func_pointcut_and_execute(NULL, NULL, EG(current_execute_data), EG(This), EG(scope),EG(called_scope), 0, NULL, EG(return_value_ptr_ptr));
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1408:85: note: in expansion of macro 'EG'
_test_func_pointcut_and_execute(NULL, NULL, EG(current_execute_data), EG(This), EG(scope),EG(called_scope), 0, NULL, EG(return_value_ptr_ptr));
^~
/tmp/pear/temp/AOP/aop.c:1408:98: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
_test_func_pointcut_and_execute(NULL, NULL, EG(current_execute_data), EG(This), EG(scope),EG(called_scope), 0, NULL, EG(return_value_ptr_ptr));
^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1408:122: note: in expansion of macro 'EG'
_test_func_pointcut_and_execute(NULL, NULL, EG(current_execute_data), EG(This), EG(scope),EG(called_scope), 0, NULL, EG(return_value_ptr_ptr));
^~
/tmp/pear/temp/AOP/aop.c:1408:37: warning: passing argument 1 of '_test_func_pointcut_and_execute' makes integer from pointer without a cast [-Wint-conversion]
_test_func_pointcut_and_execute(NULL, NULL, EG(current_execute_data), EG(This), EG(scope),EG(called_scope), 0, NULL, EG(return_value_ptr_ptr));
^~~~
/tmp/pear/temp/AOP/aop.c:316:58: note: expected 'HashPosition' {aka 'unsigned int'} but argument is of type 'void *'
static void _test_func_pointcut_and_execute(HashPosition pos, HashTable *ht, zend_execute_data *ex, zval *object, zend_class_entry *scope, zend_class_entry *called_scope, int args_overloaded, zval *args, zval **to_return_ptr_ptr) {
~~~~~~~~~~~~~^~~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'opline_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1412:18: note: in expansion of macro 'EG'
&& !(EG(opline_ptr) && ((zend_op *)EG(opline_ptr))->result_type & EXT_TYPE_UNUSED)
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'opline_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1412:48: note: in expansion of macro 'EG'
&& !(EG(opline_ptr) && ((zend_op *)EG(opline_ptr))->result_type & EXT_TYPE_UNUSED)
^~
/tmp/pear/temp/AOP/aop.c:1412:79: error: 'EXT_TYPE_UNUSED' undeclared (first use in this function); did you mean 'SET_UNUSED'?
&& !(EG(opline_ptr) && ((zend_op *)EG(opline_ptr))->result_type & EXT_TYPE_UNUSED)
^~~~~~~~~~~~~~~
SET_UNUSED
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1415:14: note: in expansion of macro 'EG'
if (*EG(return_value_ptr_ptr)) {
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1416:27: note: in expansion of macro 'EG'
zval_ptr_dtor(EG(return_value_ptr_ptr));
^~
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44: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_alloc.h:161:34: note: in definition of macro 'efree'
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/tmp/pear/temp/AOP/aop.c:1417:19: note: in expansion of macro 'EG'
efree(EG(return_value_ptr_ptr));
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44: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_alloc.h:161:34: note: in definition of macro 'efree'
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/tmp/pear/temp/AOP/aop.c:1419:19: note: in expansion of macro 'EG'
efree(EG(return_value_ptr_ptr));
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44: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_alloc.h:161:34: note: in definition of macro 'efree'
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/tmp/pear/temp/AOP/aop.c:1422:15: note: in expansion of macro 'EG'
efree(EG(return_value_ptr_ptr));
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1424:15: note: in expansion of macro 'EG'
if (!*EG(return_value_ptr_ptr)) {
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1425:28: note: in expansion of macro 'EG'
MAKE_STD_ZVAL(*EG(return_value_ptr_ptr));
^~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44: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_types.h:450:41: note: in definition of macro 'Z_TYPE'
#define Z_TYPE(zval)    zval_get_type(&(zval))
^~~~
/tmp/pear/temp/AOP/aop.c:1426:13: note: in expansion of macro 'Z_TYPE_P'
Z_TYPE_P(*EG(return_value_ptr_ptr)) = IS_NULL;
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:1426:23: note: in expansion of macro 'EG'
Z_TYPE_P(*EG(return_value_ptr_ptr)) = IS_NULL;
^~
/tmp/pear/temp/AOP/aop.c: In function 'aop_execute_internal':
/tmp/pear/temp/AOP/aop.c:1447:25: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
curr_func = data->function_state.function;
^~
/tmp/pear/temp/AOP/aop.c:1460:52: 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:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_execute.h:42:71: 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);
~~~~~~^~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1460:13: 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:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_execute.h:42:15: note: declared here
ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1467:29: error: 'temp_variable' undeclared (first use in this function)
to_return_ptr_ptr = &(*(temp_variable *)((char *) current_execute_data->Ts + current_execute_data->opline->result.var)).var.ptr;
^~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1467:44: error: expected expression before ')' token
to_return_ptr_ptr = &(*(temp_variable *)((char *) current_execute_data->Ts + current_execute_data->opline->result.var)).var.ptr;
^
/tmp/pear/temp/AOP/aop.c:1467:77: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'Ts'; did you mean 'This'?
to_return_ptr_ptr = &(*(temp_variable *)((char *) current_execute_data->Ts + current_execute_data->opline->result.var)).var.ptr;
^~
This
/tmp/pear/temp/AOP/aop.c:1472:94: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'object'
_test_func_pointcut_and_execute(NULL,NULL, EG(current_execute_data), current_execute_data->object, EG(scope), EG(called_scope), 0, NULL, to_return_ptr_ptr);
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1472:104: note: in expansion of macro 'EG'
_test_func_pointcut_and_execute(NULL,NULL, EG(current_execute_data), current_execute_data->object, EG(scope), EG(called_scope), 0, NULL, to_return_ptr_ptr);
^~
/tmp/pear/temp/AOP/aop.c:1472:118: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
_test_func_pointcut_and_execute(NULL,NULL, EG(current_execute_data), current_execute_data->object, EG(scope), EG(called_scope), 0, NULL, to_return_ptr_ptr);
^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1472:37: warning: passing argument 1 of '_test_func_pointcut_and_execute' makes integer from pointer without a cast [-Wint-conversion]
_test_func_pointcut_and_execute(NULL,NULL, EG(current_execute_data), current_execute_data->object, EG(scope), EG(called_scope), 0, NULL, to_return_ptr_ptr);
^~~~
/tmp/pear/temp/AOP/aop.c:316:58: note: expected 'HashPosition' {aka 'unsigned int'} but argument is of type 'void *'
static void _test_func_pointcut_and_execute(HashPosition pos, HashTable *ht, zend_execute_data *ex, zval *object, zend_class_entry *scope, zend_class_entry *called_scope, int args_overloaded, zval *args, zval **to_return_ptr_ptr) {
~~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c: In function 'execute_context':
/tmp/pear/temp/AOP/aop.c:1485:5: error: unknown type name 'zend_uint'; did you mean 'zend_llist'?
zend_uint i;
^~~~~~~~~
zend_llist
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1514:23: note: in expansion of macro 'EX'
original_object = EX(object);
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1515:5: note: in expansion of macro 'EX'
EX(object) = object;
^~
/tmp/pear/temp/AOP/aop.c:1517:108: error: '*(executor_globals.objects_store.object_buckets + (sizetype)((long unsigned int)object->value.obj->handle * 8))' is a pointer; did you mean to use '->'?
(!EG(objects_store).object_buckets || !EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(object)].valid)) {
^
->
/tmp/pear/temp/AOP/aop.c:1530:68: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types]
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&temp, &pos) == SUCCESS) {
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' {aka 'unsigned int *'} but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1530:20: error: too many arguments to function 'zend_hash_get_current_data_ex'
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&temp, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1544:13: warning: implicit declaration of function 'ZEND_VM_STACK_GROW_IF_NEEDED'; did you mean 'ZEND_PTR_STACK_RESIZE_IF_NEEDED'? [-Wimplicit-function-declaration]
ZEND_VM_STACK_GROW_IF_NEEDED((int) arg_count + 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ZEND_PTR_STACK_RESIZE_IF_NEEDED
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/usr/local/include/php/Zend/zend_compile.h:961:27: note: in definition of macro 'ARG_SHOULD_BE_SENT_BY_REF'
zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF)
^~
/tmp/pear/temp/AOP/aop.c:1547:47: note: in expansion of macro 'EX'
if (ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1)) {
^~
/tmp/pear/temp/AOP/aop.c:1548:26: warning: implicit declaration of function 'PZVAL_IS_REF'; did you mean 'ZVAL_NEW_REF'? [-Wimplicit-function-declaration]
if (!PZVAL_IS_REF(*params[i]) && Z_REFCOUNT_PP(params[i]) > 1) {
^~~~~~~~~~~~
ZVAL_NEW_REF
/tmp/pear/temp/AOP/aop.c:1548:54: warning: implicit declaration of function 'Z_REFCOUNT_PP'; did you mean 'Z_REFCOUNT_P'? [-Wimplicit-function-declaration]
if (!PZVAL_IS_REF(*params[i]) && Z_REFCOUNT_PP(params[i]) > 1) {
^~~~~~~~~~~~~
Z_REFCOUNT_P
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/usr/local/include/php/Zend/zend_compile.h:964:27: note: in definition of macro 'ARG_MAY_BE_SENT_BY_REF'
zend_check_arg_send_type(zf, arg_num, ZEND_SEND_PREFER_REF)
^~
/tmp/pear/temp/AOP/aop.c:1551:53: note: in expansion of macro 'EX'
if (!ARG_MAY_BE_SENT_BY_REF(EX(function_state).function, i + 1)) {
^~
In file included from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1552:49: warning: implicit declaration of function 'ZEND_VM_STACK_ELEMETS'; did you mean 'ZEND_VM_STACK_ELEMENTS'? [-Wimplicit-function-declaration]
if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED'
# define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1552:74: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'argument_stack'; did you mean 'vm_stack'?
if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED'
# define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1552:71: note: in expansion of macro 'EG'
if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
^~
/tmp/pear/temp/AOP/aop.c:1552:98: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'argument_stack'; did you mean 'vm_stack'?
if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED'
# define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1552:95: note: in expansion of macro 'EG'
if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
^~
/tmp/pear/temp/AOP/aop.c:1553:33: warning: implicit declaration of function 'zend_vm_stack_push_nocheck'; did you mean 'zend_vm_stack_push_call_frame'? [-Wimplicit-function-declaration]
zend_vm_stack_push_nocheck((void *) (zend_uintptr_t)i TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_vm_stack_push_call_frame
/tmp/pear/temp/AOP/aop.c:1554:33: warning: implicit declaration of function 'zend_vm_stack_clear_multiple'; did you mean 'zend_vm_stack_free_call_frame'? [-Wimplicit-function-declaration]
zend_vm_stack_clear_multiple(TSRMLS_C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
zend_vm_stack_free_call_frame
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1559:37: note: in expansion of macro 'EX'
EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : "",
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1559:81: note: in expansion of macro 'EX'
EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : "",
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1560:37: note: in expansion of macro 'EX'
EX(function_state).function->common.scope ? "::" : "",
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1561:37: note: in expansion of macro 'EX'
EX(function_state).function->common.function_name
^~
/tmp/pear/temp/AOP/aop.c:1570:25: warning: implicit declaration of function 'Z_DELREF_PP'; did you mean 'Z_DELREF_P'? [-Wimplicit-function-declaration]
Z_DELREF_PP(params[i]);
^~~~~~~~~~~
Z_DELREF_P
/tmp/pear/temp/AOP/aop.c:1573:21: warning: implicit declaration of function 'Z_ADDREF_PP'; did you mean 'Z_ADDREF_P'? [-Wimplicit-function-declaration]
Z_ADDREF_PP(params[i]);
^~~~~~~~~~~
Z_ADDREF_P
/tmp/pear/temp/AOP/aop.c:1574:21: warning: implicit declaration of function 'Z_SET_ISREF_PP'; did you mean 'Z_OPT_ISREF_P'? [-Wimplicit-function-declaration]
Z_SET_ISREF_PP(params[i]);
^~~~~~~~~~~~~~
Z_OPT_ISREF_P
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1576:57: note: in expansion of macro 'EX'
} else if (PZVAL_IS_REF(*params[i]) && (EX(function_state).function->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) == 0 ) {
^~
/tmp/pear/temp/AOP/aop.c:1591:37: error: 'struct _zend_execute_data' has no member named 'function_state'
EG(current_execute_data)->function_state.arguments = zend_vm_stack_top(TSRMLS_C);
^~
/tmp/pear/temp/AOP/aop.c:1591:66: warning: implicit declaration of function 'zend_vm_stack_top'; did you mean 'zend_ptr_stack_top'? [-Wimplicit-function-declaration]
EG(current_execute_data)->function_state.arguments = zend_vm_stack_top(TSRMLS_C);
^~~~~~~~~~~~~~~~~
zend_ptr_stack_top
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1595:44: note: in expansion of macro 'EX'
arg_count = (int)(zend_uintptr_t) *EX(function_state).arguments;
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1598:21: note: in expansion of macro 'EG'
current_scope = EG(scope);
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1599:5: note: in expansion of macro 'EG'
EG(scope) = calling_scope;
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1600:20: note: in expansion of macro 'EG'
current_this = EG(This);
^~
/tmp/pear/temp/AOP/aop.c:1601:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
current_called_scope = EG(called_scope);
^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1603:12: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
EG(called_scope) = called_scope;
^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1604:16: note: in expansion of macro 'EX'
} else if (EX(function_state).function->type != ZEND_INTERNAL_FUNCTION) {
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1605:12: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
EG(called_scope) = NULL;
^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1609:14: note: in expansion of macro 'EX'
if ((EX(function_state).function->common.fn_flags & ZEND_ACC_STATIC)) {
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1610:13: note: in expansion of macro 'EG'
EG(This) = NULL;
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1612:13: note: in expansion of macro 'EG'
EG(This) = object;
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1614:31: note: in expansion of macro 'EG'
             if (!PZVAL_IS_REF(EG(This))) {
                               ^~
In file included from /usr/local/include/php/Zend/zend.h:27,
                 from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/usr/local/include/php/Zend/zend_types.h:979:41: note: in definition of macro 'Z_ADDREF_P'
#define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~
/tmp/pear/temp/AOP/aop.c:1615:28: note: in expansion of macro 'EG'
                 Z_ADDREF_P(EG(This));
                            ^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
                 from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1619:30: note: in expansion of macro 'EG'
                 *this_ptr = *EG(This);
                              ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1622:17: note: in expansion of macro 'EG'
                 EG(This) = this_ptr;
                 ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1626:9: note: in expansion of macro 'EG'
         EG(This) = NULL;
         ^~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1630:9: note: in expansion of macro 'EX'
     if (EX(function_state).function->type == ZEND_USER_FUNCTION) {
         ^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
                 from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1631:35: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
         calling_symbol_table = EG(active_symbol_table);
                                   ^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1632:9: note: in expansion of macro 'EG'
         EG(scope) = EX(function_state).function->common.scope;
         ^~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1632:21: note: in expansion of macro 'EX'
         EG(scope) = EX(function_state).function->common.scope;
                     ^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
                 from /usr/local/include/php/Zend/zend_modules.h:24,
                 from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1634:33: note: in expansion of macro 'EG'
         original_return_value = EG(return_value_ptr_ptr);
                                 ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_op_array'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1635:29: note: in expansion of macro 'EG'
         original_op_array = EG(active_op_array);
                             ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
 # define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1636:9: note: in expansion of macro 'EG'
         EG(return_value_ptr_ptr) = to_return_ptr_ptr;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_op_array'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1637:9: note: in expansion of macro 'EG'
         EG(active_op_array) = (zend_op_array *) EX(function_state).function;
         ^~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1637:49: note: in expansion of macro 'EX'
         EG(active_op_array) = (zend_op_array *) EX(function_state).function;
                                                 ^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
                 from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'opline_ptr'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1638:31: note: in expansion of macro 'EG'
         original_opline_ptr = EG(opline_ptr);
                               ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_op_array'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1639:23: note: in expansion of macro 'EG'
         _zend_execute(EG(active_op_array) TSRMLS_CC);
                       ^~
/tmp/pear/temp/AOP/aop.c:1642:34: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
zend_hash_destroy(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
# define EG(v) (executor_globals.v)
^
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:125:40: note: in definition of macro '_ZEND_BIN_DEALLOCATOR_SELECTOR_START'
if (size <= _size) { _efree_ ## _size(ptr); } else
^~~
/usr/local/include/php/Zend/zend_alloc.h:128:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
ZEND_MM_BINS_INFO(_ZEND_BIN_DEALLOCATOR_SELECTOR_START, ptr, size) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:134:4: note: in expansion of macro 'ZEND_DEALLOCATOR'
    ZEND_DEALLOCATOR(ptr, size) \
    ^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:129:53: note: in definition of macro 'ZEND_DEALLOCATOR'
if (size <= ZEND_MM_MAX_LARGE_SIZE) { _efree_large(ptr, size); } \
^~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:130:21: note: in definition of macro 'ZEND_DEALLOCATOR'
else { _efree_huge(ptr, size); }
^~~
/usr/local/include/php/Zend/zend_alloc.h:237:2: note: in expansion of macro 'efree_size'
  efree_size(ht, sizeof(HashTable))
  ^~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
             FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
/tmp/pear/temp/AOP/aop.c:1643:31: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
FREE_HASHTABLE(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:136:11: note: in definition of macro 'efree_size'
_efree(ptr); \
^~~
/tmp/pear/temp/AOP/aop.c:1643:13: note: in expansion of macro 'FREE_HASHTABLE'
FREE_HASHTABLE(EG(active_symbol_table));
             ^~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1643:28: note: in expansion of macro 'EG'
             FREE_HASHTABLE(EG(active_symbol_table));
                            ^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
                 from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1647:20: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
             if (EG(active_symbol_table)) {
                    ^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
/tmp/pear/temp/AOP/aop.c:1648:36: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
zend_hash_clean(EG(active_symbol_table));
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
/tmp/pear/temp/AOP/aop.c:1649:50: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
*(++EG(symtable_cache_ptr)) = EG(active_symbol_table);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_op_array'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1652:9: note: in expansion of macro 'EG'
         EG(active_op_array) = original_op_array;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'return_value_ptr_ptr'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1653:9: note: in expansion of macro 'EG'
EG(return_value_ptr_ptr)=original_return_value;
         ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'opline_ptr'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1654:9: note: in expansion of macro 'EG'
         EG(opline_ptr) = original_opline_ptr;
         ^~
/tmp/pear/temp/AOP/aop.c:1655:12: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'active_symbol_table'; did you mean 'symbol_table'?
EG(active_symbol_table) = calling_symbol_table;
            ^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1656:16: note: in expansion of macro 'EX'
     } else if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION) {
                ^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1657:33: note: in expansion of macro 'EX'
         int call_via_handler = (EX(function_state).function->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) != 0;
                                 ^~
/tmp/pear/temp/AOP/aop.c:1659:13: warning: implicit declaration of function 'ALLOC_INIT_ZVAL' [-Wimplicit-function-declaration]
ALLOC_INIT_ZVAL(*to_return_ptr_ptr);
^~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1661:13: note: in expansion of macro 'EX'
if (EX(function_state).function->common.scope) {
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1662:13: note: in expansion of macro 'EG'
EG(scope) = EX(function_state).function->common.scope;
^~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1662:25: note: in expansion of macro 'EX'
EG(scope) = EX(function_state).function->common.scope;
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1664:37: note: in expansion of macro 'EX'
((zend_internal_function *) EX(function_state).function)->handler(arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1677:45: note: in expansion of macro 'EX'
Z_OBJ_HT_P(object)->call_method(EX(function_state).function->common.function_name, arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~
/tmp/pear/temp/AOP/aop.c:1677:96: warning: passing argument 2 of 'object->value.obj->handlers->call_method' makes pointer from integer without a cast [-Wint-conversion]
Z_OBJ_HT_P(object)->call_method(EX(function_state).function->common.function_name, arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1677:96: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'int'
/tmp/pear/temp/AOP/aop.c:1677:107: warning: passing argument 3 of 'object->value.obj->handlers->call_method' from incompatible pointer type [-Wincompatible-pointer-types]
Z_OBJ_HT_P(object)->call_method(EX(function_state).function->common.function_name, arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1677:107: note: expected 'zend_execute_data *' {aka 'struct _zend_execute_data *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
/tmp/pear/temp/AOP/aop.c:1677:127: warning: passing argument 4 of 'object->value.obj->handlers->call_method' from incompatible pointer type [-Wincompatible-pointer-types]
Z_OBJ_HT_P(object)->call_method(EX(function_state).function->common.function_name, arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1677:127: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_types.h:705:39: error: too many arguments to function 'object->value.obj->handlers->call_method'
#define Z_OBJ_HT_P(zval_p)   Z_OBJ_HT(*(zval_p))
^
/usr/local/include/php/Zend/zend_types.h:701:26: note: in definition of macro 'Z_OBJ'
#define Z_OBJ(zval)     (zval).value.obj
^~~~
/usr/local/include/php/Zend/zend_types.h:705:30: note: in expansion of macro 'Z_OBJ_HT'
#define Z_OBJ_HT_P(zval_p)   Z_OBJ_HT(*(zval_p))
^~~~~~~~
/tmp/pear/temp/AOP/aop.c:1677:13: note: in expansion of macro 'Z_OBJ_HT_P'
Z_OBJ_HT_P(object)->call_method(EX(function_state).function->common.function_name, arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/tmp/pear/temp/AOP/aop.c:1682:13: note: in expansion of macro 'EX'
if (EX(function_state).function->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) {
^~
In file included from /usr/local/include/php/Zend/zend.h:30,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/usr/local/include/php/Zend/zend_alloc.h:161:34: note: in definition of macro 'efree'
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/tmp/pear/temp/AOP/aop.c:1683:26: note: in expansion of macro 'EX'
efree((char*)EX(function_state).function->common.function_name);
^~
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
#define EX(element)    ((execute_data)->element)
^~
/usr/local/include/php/Zend/zend_alloc.h:161:34: note: in definition of macro 'efree'
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^~~
/tmp/pear/temp/AOP/aop.c:1685:15: note: in expansion of macro 'EX'
efree(EX(function_state).function);
^~
In file included from /usr/local/include/php/Zend/zend_globals.h:26,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1695:9: note: in expansion of macro 'EG'
if (EG(This)) {
^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
^
/tmp/pear/temp/AOP/aop.c:1696:24: note: in expansion of macro 'EG'
zval_ptr_dtor(&EG(This));
^~
/tmp/pear/temp/AOP/aop.c:1698:8: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'called_scope'; did you mean 'fake_scope'?
EG(called_scope) = current_called_scope;
        ^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:44:34: note: in definition of macro 'EG'
 # define EG(v) (executor_globals.v)
                                  ^
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'scope'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1699:5: note: in expansion of macro 'EG'
     EG(scope) = current_scope;
     ^~
/usr/local/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'This'
# define EG(v) (executor_globals.v)
                                 ^
/tmp/pear/temp/AOP/aop.c:1700:5: note: in expansion of macro 'EG'
     EG(This) = current_this;
     ^~
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:576:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/pear/temp/AOP/aop.c:1702:5: note: in expansion of macro 'EX'
     EX(object) = original_object;
     ^~
/tmp/pear/temp/AOP/aop.c: In function 'pointcut_match_zend_class_entry':
/tmp/pear/temp/AOP/aop.c:1831:15: warning: implicit declaration of function 'pcre_exec' [-Wimplicit-function-declaration]
matches = pcre_exec(pc->re_class, NULL, ce->name, strlen(ce->name), 0, 0, NULL, 0);
^~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1831:64: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
matches = pcre_exec(pc->re_class, NULL, ce->name, strlen(ce->name), 0, 0, NULL, 0);
~~^~~~~~
In file included from /usr/local/include/php/main/../main/php_config.h:2335,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
extern size_t strlen (const char *__s)
~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:1836:98: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
matches = pcre_exec(pc->re_class, NULL, ce->interfaces[i]->name, strlen(ce->interfaces[i]->name), 0, 0, NULL, 0);
~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/local/include/php/main/../main/php_config.h:2335,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
extern size_t strlen (const char *__s)
~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:1843:53: error: 'zend_class_entry' {aka 'struct _zend_class_entry'} has no member named 'traits'; did you mean 'num_traits'?
matches = pcre_exec(pc->re_class, NULL, ce->traits[i]->name, strlen(ce->traits[i]->name), 0, 0, NULL, 0);
^~~~~~
num_traits
/tmp/pear/temp/AOP/aop.c:1843:81: error: 'zend_class_entry' {aka 'struct _zend_class_entry'} has no member named 'traits'; did you mean 'num_traits'?
matches = pcre_exec(pc->re_class, NULL, ce->traits[i]->name, strlen(ce->traits[i]->name), 0, 0, NULL, 0);
^~~~~~
num_traits
/tmp/pear/temp/AOP/aop.c:1851:68: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
matches = pcre_exec(pc->re_class, NULL, ce->name, strlen(ce->name), 0, 0, NULL, 0);
~~^~~~~~
In file included from /usr/local/include/php/main/../main/php_config.h:2335,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
extern size_t strlen (const char *__s)
~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c: In function 'pointcut_match_zend_function':
/tmp/pear/temp/AOP/aop.c:1885:111: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
int matches = pcre_exec(pc->re_method, NULL, curr_func->common.function_name, strlen(curr_func->common.function_name), 0, 0, NULL, 0);
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/../main/php_config.h:2335,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
extern size_t strlen (const char *__s)
~~~~~~~~~~~~^~~
/tmp/pear/temp/AOP/aop.c:1891:53: warning: passing argument 2 of 'strcasecmp' from incompatible pointer type [-Wincompatible-pointer-types]
if (strcasecmp(pc->method, curr_func->common.function_name)) {
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/string.h:431,
from /usr/local/include/php/main/../main/php_config.h:2335,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
extern int strcasecmp (const char *__s1, const char *__s2)
~~~~~~~~~~~~^~~~
/tmp/pear/temp/AOP/aop.c:1898:24: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'object'
} else if (data->object != NULL && Z_OBJCE(*data->object) != NULL) {
^~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/tmp/pear/temp/AOP/aop.c:1898:57: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'object'
} else if (data->object != NULL && Z_OBJCE(*data->object) != NULL) {
^~
/usr/local/include/php/Zend/zend_types.h:701:26: note: in definition of macro 'Z_OBJ'
#define Z_OBJ(zval)     (zval).value.obj
^~~~
/tmp/pear/temp/AOP/aop.c:1898:44: note: in expansion of macro 'Z_OBJCE'
} else if (data->object != NULL && Z_OBJCE(*data->object) != NULL) {
^~~~~~~
/tmp/pear/temp/AOP/aop.c:1899:31: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'object'
ce = Z_OBJCE(*data->object);
^~
/usr/local/include/php/Zend/zend_types.h:701:26: note: in definition of macro 'Z_OBJ'
#define Z_OBJ(zval)     (zval).value.obj
^~~~
/tmp/pear/temp/AOP/aop.c:1899:18: note: in expansion of macro 'Z_OBJCE'
ce = Z_OBJCE(*data->object);
^~~~~~~
/tmp/pear/temp/AOP/aop.c: In function 'get_current_args':
/tmp/pear/temp/AOP/aop.c:1918:19: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
if (!ex || !ex->function_state.arguments) {
^~
/tmp/pear/temp/AOP/aop.c:1923:11: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
p = ex->function_state.arguments;
^~
/tmp/pear/temp/AOP/aop.c:1929:56: error: 'zend_value' {aka 'union _zend_value'} has no member named 'ht'
zend_hash_next_index_insert(return_value->value.ht, &element, sizeof(zval *), NULL);
^
/tmp/pear/temp/AOP/aop.c:1929:61: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_next_index_insert(return_value->value.ht, &element, sizeof(zval *), NULL);
^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:134:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/AOP/aop.c:1929:9: error: too many arguments to function 'zend_hash_next_index_insert'
zend_hash_next_index_insert(return_value->value.ht, &element, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/AOP/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:134:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:191: aop.lo] Error 1
ERROR: `make' failed