php-ext.com / aop (from dev using PHP 8.0.5-buster)

Dockerfile
FROM php:8.0.5-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 git clone --recursive --depth=1 https://github.com/AOP-PHP/AOP /tmp/ext-src && \
    cd /tmp/ext-src && \
    phpize && \
    ./configure --enable-AOP && \
    make && \
    make test
Build output FAIL 11ss
Step 1/4 : FROM php:8.0.5-buster
---> 9d3d64fb1730
Step 2/4 : WORKDIR /tmp
---> Running in 1cff734effa7
Removing intermediate container 1cff734effa7
---> 69c588809878
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 ccc69e820e47


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 [121 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 [285 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 [10.9 kB]
Fetched 8441 kB in 2s (5498 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.


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 2 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://security.debian.org/debian-security buster/updates/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u2 [330 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:3 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 10.7 MB in 0s (82.4 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+deb10u2_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
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+deb10u2) ...
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 2 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 (34.5 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 ccc69e820e47
---> 99732f07230d
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/AOP-PHP/AOP /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --enable-AOP && make && make test
---> Running in ad919500f60b
Cloning into '/tmp/ext-src'...

Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
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-20200930
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 PCRE headers location...
/usr/include
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
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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/ext-src/aop.c -o aop.lo
mkdir .libs
cc -I. -I/tmp/ext-src -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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/ext-src/aop.c  -fPIC -DPIC -o .libs/aop.o
In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:79:11: error: unknown type name 'zend_literal'
     const zend_literal *key;
           ^~~~~~~~~~~~

/tmp/ext-src/aop.h:94:5: error: unknown type name 'pcre'
     pcre *re_method;
     ^~~~

/tmp/ext-src/aop.h:95:5: error: unknown type name 'pcre'
     pcre *re_class;
     ^~~~

/tmp/ext-src/aop.h:134:11: error: unknown type name 'zend_literal'
     const zend_literal *key;
           ^~~~~~~~~~~~

/tmp/ext-src/aop.h:196:65: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void (*_zend_execute_ex)(zend_execute_data *execute_data TSRMLS_DC);
                                                                 ^~~~~~~~~

/tmp/ext-src/aop.h:197:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void (*_zend_execute) (zend_op_array *ops TSRMLS_DC);
                                                  ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:202:133: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void (*_zend_execute_internal) (zend_execute_data *current_execute_data, struct _zend_fcall_info *fci, int return_value_used TSRMLS_DC);
                                                                                                                                     ^~~~~~~~~

/tmp/ext-src/aop.h:204:144: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void add_pointcut (zend_fcall_info fci, zend_fcall_info_cache fcic, char *selector, int selector_len, int type, zval **return_value_ptr TSRMLS_DC);
                                                                                                                                                ^~~~~~~~~

/tmp/ext-src/aop.h:207:52: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void aop_execute (zend_op_array *ops TSRMLS_DC);
                                                    ^~~~~~~~~

/tmp/ext-src/aop.h:210:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void aop_execute_ex (zend_execute_data *execute_data TSRMLS_DC);
                                                                    ^~~~~~~~~

/tmp/ext-src/aop.h:211:62: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void _zend_execute_overload(zend_op_array *ops TSRMLS_DC);
                                                              ^~~~~~~~~

/tmp/ext-src/aop.h:217:135: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void aop_execute_internal (zend_execute_data *current_execute_data, struct _zend_fcall_info *fci, int return_value_used TSRMLS_DC);
                                                                                                                                       ^~~~~~~~~

/tmp/ext-src/aop.h:219:47: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 zval *get_current_args (zend_execute_data *ex TSRMLS_DC);
                                               ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:229: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/ext-src/aop.c:28:
/tmp/ext-src/aop.h:229:88: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zval * (*zend_std_read_property)(zval *object, zval *member, int type AOP_KEY_D TSRMLS_DC);
                                                                                        ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:230: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/ext-src/aop.c:28:
/tmp/ext-src/aop.h:230:86: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zval ** (*zend_std_get_property_ptr_ptr)(zval *object, zval *member AOP_KEY_D TSRMLS_DC);
                                                                                      ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:231:145: note: in expansion of macro 'AOP_KEY_D'
 void _test_write_pointcut_and_execute(HashPosition pos, HashTable *ht, zval *object, zval *member, zval *value, zend_class_entry *current_scope AOP_KEY_D);
                                                                                                                                                 ^~~~~~~~~

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:233: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/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:236: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);
                                                                                        ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:236:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT zval **zend_std_get_property_ptr_ptr_overload(zval *object, zval *member AOP_KEY_D TSRMLS_DC);
                                                                                                  ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:239:79: note: in expansion of macro 'AOP_KEY_D'
 HashTable *calculate_property_pointcuts (zval *object, zval *member, int kind AOP_KEY_D);
                                                                               ^~~~~~~~~

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:240:142: note: in expansion of macro 'AOP_KEY_D'
 zval *_test_read_pointcut_and_execute(HashPosition pos, HashTable *ht, zval *object, zval *member, int type, zend_class_entry *current_scope AOP_KEY_D);
                                                                                                                                              ^~~~~~~~~

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.h:243:70: note: in expansion of macro 'AOP_KEY_D'
 HashTable * get_cache_property (zval *object, zval *member, int type AOP_KEY_D);
                                                                      ^~~~~~~~~

/tmp/ext-src/aop.c:82:36: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 void aop_free_storage(void *object TSRMLS_DC)
                                    ^~~~~~~~~

/tmp/ext-src/aop.c:94: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/ext-src/aop.c:94:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 zend_object_value aop_create_handler(zend_class_entry *type TSRMLS_DC)
                                                             ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'zm_deactivate_aop':

/tmp/ext-src/aop.c:163:9: warning: implicit declaration of function 'FREE_ZVAL'; did you mean 'ZVAL_ZVAL'? [-Wimplicit-function-declaration]
         FREE_ZVAL(aop_object);
         ^~~~~~~~~
         ZVAL_ZVAL

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c: In function 'zm_activate_aop':

/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
  _zend_hash_init((ht), (nSize), (pDestructor), (persistent))
                                 ^~~~~~~~~~~~~
/tmp/ext-src/aop.c:185:5: note: in expansion of macro 'zend_hash_init'
     zend_hash_init(aop_g(pointcuts), 16, NULL, free_pointcut,0);
     ^~~~~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
 ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
                                                                            ~~~~~~~~~~~~^~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
  _zend_hash_init((ht), (nSize), (pDestructor), (persistent))
                                 ^~~~~~~~~~~~~
/tmp/ext-src/aop.c:189:5: note: in expansion of macro 'zend_hash_init'
     zend_hash_init(aop_g(function_cache), 16, NULL, free_pointcut_cache,0);
     ^~~~~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
 ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
                                                                            ~~~~~~~~~~~~^~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'free_pointcut':

/tmp/ext-src/aop.c:233:9: error: used struct type value where scalar is required
     if (_pc->fci.function_name) {
         ^~~

/tmp/ext-src/aop.c:234:23: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
         zval_ptr_dtor((zval **)&_pc->fci.function_name);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

/tmp/ext-src/aop.c:236:18: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
     if (_pc->fci.object_ptr) {
                  ^~~~~~~~~~
                  object

/tmp/ext-src/aop.c:237:42: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'object_ptr'; did you mean 'object'?
         zval_ptr_dtor((zval **)&_pc->fci.object_ptr);
                                          ^~~~~~~~~~
                                          object

/tmp/ext-src/aop.c: In function 'get_aopJoinpoint':

/tmp/ext-src/aop.c:252:5: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration]
     TSRMLS_FETCH();
     ^~~~~~~~~~~~
     TSRMLS_CACHE

/tmp/ext-src/aop.c:258: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/ext-src/aop.c:258:102: error: expected ')' before 'TSRMLS_CC'
             AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(aop_object TSRMLS_CC);
                                                                                                      ^~~~~~~~~~
                                                                                                      )

/tmp/ext-src/aop.c:258: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/ext-src/aop.c:260:31: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
                 zval_ptr_dtor(&obj->value);
                               ^~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

/tmp/ext-src/aop.c:270:31: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
                 zval_ptr_dtor(&obj->args);
                               ^~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

/tmp/ext-src/aop.c:283:5: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration]
     MAKE_STD_ZVAL(aop_object);
     ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:284:26: error: lvalue required as left operand of assignment
     Z_TYPE_P(aop_object) = IS_OBJECT;
                          ^

/tmp/ext-src/aop.c:285:31: warning: implicit declaration of function 'aop_create_handler'; did you mean 'sa_handler'? [-Wimplicit-function-declaration]
     (aop_object)->value.obj = aop_create_handler(aop_class_entry TSRMLS_CC);
                               ^~~~~~~~~~~~~~~~~~
                               sa_handler

/tmp/ext-src/aop.c:285:65: error: expected ')' before 'TSRMLS_CC'
     (aop_object)->value.obj = aop_create_handler(aop_class_entry TSRMLS_CC);
                                                                 ^~~~~~~~~~
                                                                 )

/tmp/ext-src/aop.c:285: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/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:291: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/ext-src/aop.c:291:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT zval **zend_std_get_property_ptr_ptr_overload(zval *object, zval *member AOP_KEY_D TSRMLS_DC) {
                                                                                                  ^~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:305: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) {
                                                                                           ^~~~~~~~~

/tmp/ext-src/aop.c:305:101: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT zval * zend_std_read_property_overload(zval *object, zval *member, int type AOP_KEY_D TSRMLS_DC) {
                                                                                                     ^~~~~~~~~

/tmp/ext-src/aop.c: In function '_test_func_pointcut_and_execute':

/tmp/ext-src/aop.c:335:43: 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(ht, (void **)&temp, &pos) != SUCCESS) {
                                           ^~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:335:9: error: too many arguments to function 'zend_hash_get_current_data_ex'
     if (zend_hash_get_current_data_ex(ht, (void **)&temp, &pos) != SUCCESS) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:344:74: error: expected ')' before 'TSRMLS_CC'
     obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
                                                                          ^~~~~~~~~~
                                                                          )

/tmp/ext-src/aop.c:344: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/ext-src/aop.c:381: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/ext-src/aop.c:385: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/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:402:142: note: in expansion of macro 'AOP_KEY_D'
 zval *_test_read_pointcut_and_execute(HashPosition pos, HashTable *ht, zval *object, zval *member, int type, zend_class_entry *current_scope AOP_KEY_D) {
                                                                                                                                              ^~~~~~~~~

/tmp/ext-src/aop.c: In function '_test_read_pointcut_and_execute':

/tmp/ext-src/aop.c:418:43: 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(ht, (void **)&temp, &pos) != SUCCESS) {
                                           ^~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:418:9: error: too many arguments to function 'zend_hash_get_current_data_ex'
     if (zend_hash_get_current_data_ex(ht, (void **)&temp, &pos) != SUCCESS) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:419: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/ext-src/aop.c:420:21: note: in expansion of macro 'EG'
         temp_this = 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/ext-src/aop.c:421: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/ext-src/aop.c:422:9: note: in expansion of macro 'EG'
         EG(This) = object;
         ^~

/tmp/ext-src/aop.c:423:75: error: expected ')' before 'TSRMLS_CC'
         to_return = zend_std_read_property(object, member, type AOP_KEY_C TSRMLS_CC);
                                                                           ^~~~~~~~~

/tmp/ext-src/aop.c:423:44: warning: passing argument 1 of 'zend_std_read_property' from incompatible pointer type [-Wincompatible-pointer-types]
         to_return = zend_std_read_property(object, member, type AOP_KEY_C TSRMLS_CC);
                                            ^~~~~~

In file included from /usr/local/include/php/Zend/zend.h:356,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:202:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
 ZEND_API zval *zend_std_read_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv);
                ^~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:423:52: warning: passing argument 2 of 'zend_std_read_property' from incompatible pointer type [-Wincompatible-pointer-types]
         to_return = zend_std_read_property(object, member, type AOP_KEY_C TSRMLS_CC);
                                                    ^~~~~~

In file included from /usr/local/include/php/Zend/zend.h:356,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:202:16: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
 ZEND_API zval *zend_std_read_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv);
                ^~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:423:21: error: too few arguments to function 'zend_std_read_property'
         to_return = zend_std_read_property(object, member, type AOP_KEY_C TSRMLS_CC);
                     ^~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:356,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:202:16: note: declared here
 ZEND_API zval *zend_std_read_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv);
                ^~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:424:9: note: in expansion of macro 'EG'
         EG(This) = temp_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/ext-src/aop.c:425:9: note: in expansion of macro 'EG'
         EG(scope) = scope;
         ^~

/tmp/ext-src/aop.c:431:74: error: expected ')' before 'TSRMLS_CC'
     obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
                                                                          ^~~~~~~~~~
                                                                          )

/tmp/ext-src/aop.c:431: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/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:463:145: note: in expansion of macro 'AOP_KEY_D'
 void _test_write_pointcut_and_execute(HashPosition pos, HashTable *ht, zval *object, zval *member, zval *value, zend_class_entry *current_scope AOP_KEY_D) {
                                                                                                                                                 ^~~~~~~~~

/tmp/ext-src/aop.c: In function '_test_write_pointcut_and_execute':

/tmp/ext-src/aop.c:479:43: 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(ht, (void **)&temp, &pos) != SUCCESS) {
                                           ^~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:479:9: error: too many arguments to function 'zend_hash_get_current_data_ex'
     if (zend_hash_get_current_data_ex(ht, (void **)&temp, &pos) != SUCCESS) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:480: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/ext-src/aop.c:481:21: note: in expansion of macro 'EG'
         temp_this = 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/ext-src/aop.c:482: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/ext-src/aop.c:483:9: note: in expansion of macro 'EG'
         EG(This) = object;
         ^~

/tmp/ext-src/aop.c:484:63: error: expected ')' before 'TSRMLS_CC'
         zend_std_write_property(object,member,value AOP_KEY_C TSRMLS_CC);
                                                               ^~~~~~~~~

/tmp/ext-src/aop.c:484:33: warning: passing argument 1 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_std_write_property(object,member,value AOP_KEY_C TSRMLS_CC);
                                 ^~~~~~

In file included from /usr/local/include/php/Zend/zend.h:356,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:203:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
 ZEND_API zval *zend_std_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot);
                ^~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:484:40: warning: passing argument 2 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_std_write_property(object,member,value AOP_KEY_C TSRMLS_CC);
                                        ^~~~~~

In file included from /usr/local/include/php/Zend/zend.h:356,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_object_handlers.h:203:16: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
 ZEND_API zval *zend_std_write_property(zend_object *object, zend_string *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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:485:9: note: in expansion of macro 'EG'
         EG(This) = temp_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/ext-src/aop.c:486:9: note: in expansion of macro 'EG'
         EG(scope) = scope;
         ^~

/tmp/ext-src/aop.c:492:74: error: expected ')' before 'TSRMLS_CC'
     obj = (AopJoinpoint_object *) zend_object_store_get_object(aop_object TSRMLS_CC);
                                                                          ^~~~~~~~~~
                                                                          )

/tmp/ext-src/aop.c:492: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/ext-src/aop.c:500:5: warning: implicit declaration of function 'Z_SET_ISREF_P'; did you mean 'Z_OPT_ISREF_P'? [-Wimplicit-function-declaration]
     Z_SET_ISREF_P(value);
     ^~~~~~~~~~~~~
     Z_OPT_ISREF_P

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:526: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/ext-src/aop.c: In function 'test_property_scope':

/tmp/ext-src/aop.c:532: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/ext-src/aop.c:532: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/ext-src/aop.c:534: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

/tmp/ext-src/aop.c: In function 'execute_pointcut':

/tmp/ext-src/aop.c:575: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/ext-src/aop.c:576: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/ext-src/aop.c:577:85: error: expected ')' before 'TSRMLS_CC'
     if (zend_call_function(&(pointcut_to_execute->fci), &(pointcut_to_execute->fcic) TSRMLS_CC) == FAILURE) {
                                                                                     ^~~~~~~~~~
                                                                                     )

/tmp/ext-src/aop.c:581:91: error: expected ')' before 'TSRMLS_CC'
         AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(arg TSRMLS_CC);
                                                                                           ^~~~~~~~~~
                                                                                           )

/tmp/ext-src/aop.c:581: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);
                                    ^

/tmp/ext-src/aop.c:583:27: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
             zval_ptr_dtor(&obj->value);
                           ^~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

/tmp/ext-src/aop.c:589:27: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
             zval_ptr_dtor(&zret_ptr);
                           ^~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:594: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) {
                                                                                             ^~~~~~~~~

/tmp/ext-src/aop.c:594:103: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void zend_std_write_property_overload(zval *object, zval *member, zval *value AOP_KEY_D TSRMLS_DC) {
                                                                                                       ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'zm_startup_aop':

/tmp/ext-src/aop.c:614:55: error: expected ')' before 'TSRMLS_CC'
     aop_class_entry = zend_register_internal_class(&ce TSRMLS_CC);
                                                       ^~~~~~~~~~
                                                       )

/tmp/ext-src/aop.c:615:38: error: 'aop_create_handler' undeclared (first use in this function); did you mean 'php_output_handler'?
     aop_class_entry->create_object = aop_create_handler;
                                      ^~~~~~~~~~~~~~~~~~
                                      php_output_handler

/tmp/ext-src/aop.c:615:38: note: each undeclared identifier is reported only once for each function it appears in

/tmp/ext-src/aop.c:643:42: error: 'zend_std_write_property_overload' undeclared (first use in this function); did you mean 'zend_std_write_property'?
     std_object_handlers.write_property = zend_std_write_property_overload;
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          zend_std_write_property

/tmp/ext-src/aop.c:644:28: error: lvalue required as left operand of assignment
     zend_std_read_property = std_object_handlers.read_property;
                            ^

/tmp/ext-src/aop.c:645:41: error: 'zend_std_read_property_overload' undeclared (first use in this function); did you mean 'zend_std_read_property'?
     std_object_handlers.read_property = zend_std_read_property_overload;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                         zend_std_read_property

/tmp/ext-src/aop.c:647:35: error: lvalue required as left operand of assignment
     zend_std_get_property_ptr_ptr = std_object_handlers.get_property_ptr_ptr;
                                   ^

/tmp/ext-src/aop.c:648:48: error: 'zend_std_get_property_ptr_ptr_overload' undeclared (first use in this function); did you mean 'zend_std_get_property_ptr_ptr'?
     std_object_handlers.get_property_ptr_ptr = zend_std_get_property_ptr_ptr_overload;
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                zend_std_get_property_ptr_ptr

/tmp/ext-src/aop.c:651:5: error: '_zend_execute_ex' undeclared (first use in this function); did you mean 'zend_execute_ex'?
     _zend_execute_ex = zend_execute_ex;
     ^~~~~~~~~~~~~~~~
     zend_execute_ex

/tmp/ext-src/aop.c:652:24: error: 'aop_execute_ex' undeclared (first use in this function); did you mean 'execute_ex'?
     zend_execute_ex  = aop_execute_ex;
                        ^~~~~~~~~~~~~~
                        execute_ex

/tmp/ext-src/aop.c:653:5: error: '_zend_execute' undeclared (first use in this function); did you mean 'zend_execute'?
     _zend_execute = _zend_execute_overload;
     ^~~~~~~~~~~~~
     zend_execute

/tmp/ext-src/aop.c:653:21: error: '_zend_execute_overload' undeclared (first use in this function); did you mean 'zend_execute_internal'?
     _zend_execute = _zend_execute_overload;
                     ^~~~~~~~~~~~~~~~~~~~~~
                     zend_execute_internal

/tmp/ext-src/aop.c:658:5: error: '_zend_execute_internal' undeclared (first use in this function); did you mean 'zend_execute_internal'?
     _zend_execute_internal = zend_execute_internal;
     ^~~~~~~~~~~~~~~~~~~~~~
     zend_execute_internal

/tmp/ext-src/aop.c:659:30: error: 'aop_execute_internal' undeclared (first use in this function); did you mean 'execute_internal'?
     zend_execute_internal  = aop_execute_internal;
                              ^~~~~~~~~~~~~~~~~~~~
                              execute_internal

/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.c:686:145: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void add_pointcut (zend_fcall_info fci, zend_fcall_info_cache fcic, char *selector, int selector_len, int type , zval **return_value_ptr TSRMLS_DC) {
                                                                                                                                                 ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'make_regexp_on_pointcut':

/tmp/ext-src/aop.c:759:5: error: unknown type name 'pcre_extra'; did you mean 'pcre2_match'?
     pcre_extra *pcre_extra = NULL;
     ^~~~~~~~~~
     pcre2_match

/tmp/ext-src/aop.c:771:21: warning: implicit declaration of function 'php_str_to_str_ex'; did you mean 'php_str_to_str'? [-Wimplicit-function-declaration]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
                     ^~~~~~~~~~~~~~~~~
                     php_str_to_str

/tmp/ext-src/aop.c:771:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:774:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "**", 2, "[.#]", 4, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:777:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "\\", 1, "\\\\", 2, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:780:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "*", 1, "[^\\\\]*", 6, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:783:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "[.#]", 4, ".*", 2, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:786:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "[.#}", 4, "(.*\\\\)?", 7, new_length, 0, replace_count);
                   ^

/tmp/ext-src/aop.c:795:86: error: expected ')' before 'TSRMLS_CC'
     (*pc)->re_method = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                                                      ^~~~~~~~~~
                                                                                      )

/tmp/ext-src/aop.c:795:48: warning: passing argument 1 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
     (*pc)->re_method = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                ^~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29: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/ext-src/aop.c:795:60: warning: passing argument 2 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
     (*pc)->re_method = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                            ^~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29: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/ext-src/aop.c:795:24: error: too many arguments to function 'pcre_get_compiled_regex'
     (*pc)->re_method = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                        ^~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29:20: note: declared here
 PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
                    ^~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:795: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(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                      ^

/tmp/ext-src/aop.c:798:31: error: expected ')' before 'TSRMLS_CC'
         php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid expression");
                               ^~~~~~~~~

/tmp/ext-src/aop.c:798:9: error: too few arguments to function 'php_error_docref'
         php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid expression");
         ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:22:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:802:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "**\\", 3, "[.#}", 4, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:805:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "**", 2, "[.#]", 4, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:808:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "\\", 1, "\\\\", 2, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:811:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "*", 1, "[^\\\\]*", 6, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:814:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "[.#]", 4, ".*", 2, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:817:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
         regexp_buffer = php_str_to_str_ex(regexp, strlen(regexp), "[.#}", 4, "(.*\\\\)?", 7, new_length, 0, replace_count);
                       ^

/tmp/ext-src/aop.c:826:89: error: expected ')' before 'TSRMLS_CC'
         (*pc)->re_class = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                                                         ^~~~~~~~~~
                                                                                         )

/tmp/ext-src/aop.c:826:51: warning: passing argument 1 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
         (*pc)->re_class = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                   ^~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29: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/ext-src/aop.c:826:63: warning: passing argument 2 of 'pcre_get_compiled_regex' from incompatible pointer type [-Wincompatible-pointer-types]
         (*pc)->re_class = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                                                               ^~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29: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/ext-src/aop.c:826:27: error: too many arguments to function 'pcre_get_compiled_regex'
         (*pc)->re_class = pcre_get_compiled_regex(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                           ^~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29:20: note: declared here
 PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);
                    ^~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:826: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(tempregexp, &pcre_extra, &preg_options TSRMLS_CC);
                         ^

/tmp/ext-src/aop.c:828:35: error: expected ')' before 'TSRMLS_CC'
             php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid expression");
                                   ^~~~~~~~~

/tmp/ext-src/aop.c:828:13: error: too few arguments to function 'php_error_docref'
             php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid expression");
             ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:22:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'zif_aop_add_around':

/tmp/ext-src/aop.c:838:56: warning: excess elements in struct initializer
     zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
                                                        ^~~~

/tmp/ext-src/aop.c:838:56: note: (near initialization for 'fcic')

/tmp/ext-src/aop.c:841:47: error: expected ')' before 'TSRMLS_CC'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
                                               ^~~~~~~~~

/tmp/ext-src/aop.c:841:9: error: too few arguments to function 'zend_parse_parameters'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
         ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:845: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:846: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:1105: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:1201: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/ext-src/aop.c:848: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:849: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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~

/tmp/ext-src/aop.c:851:5: warning: implicit declaration of function 'add_pointcut'; did you mean 'alloc_pointcut'? [-Wimplicit-function-declaration]
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AROUND, return_value_ptr TSRMLS_CC);
     ^~~~~~~~~~~~
     alloc_pointcut

/tmp/ext-src/aop.c:851: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/ext-src/aop.c:851:86: error: expected ')' before 'TSRMLS_CC'
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AROUND, return_value_ptr TSRMLS_CC);
                                                                                      ^~~~~~~~~~
                                                                                      )

/tmp/ext-src/aop.c: In function 'zif_aop_add_before':

/tmp/ext-src/aop.c:857:57: warning: excess elements in struct initializer
     zend_fcall_info_cache fcic = { 0, NULL, NULL, NULL, NULL };
                                                         ^~~~

/tmp/ext-src/aop.c:857:57: note: (near initialization for 'fcic')

/tmp/ext-src/aop.c:860:47: error: expected ')' before 'TSRMLS_CC'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
                                               ^~~~~~~~~

/tmp/ext-src/aop.c:860:9: error: too few arguments to function 'zend_parse_parameters'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
         ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:864: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:865: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:1105: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:1201: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/ext-src/aop.c:867: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:868: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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~

/tmp/ext-src/aop.c:870: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/ext-src/aop.c:870:86: error: expected ')' before 'TSRMLS_CC'
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_BEFORE, return_value_ptr TSRMLS_CC);
                                                                                      ^~~~~~~~~~
                                                                                      )

/tmp/ext-src/aop.c: In function 'zif_aop_add_after_throwing':

/tmp/ext-src/aop.c:876:56: warning: excess elements in struct initializer
     zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
                                                        ^~~~

/tmp/ext-src/aop.c:876:56: note: (near initialization for 'fcic')

/tmp/ext-src/aop.c:879:47: error: expected ')' before 'TSRMLS_CC'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
                                               ^~~~~~~~~

/tmp/ext-src/aop.c:879:9: error: too few arguments to function 'zend_parse_parameters'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
         ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:883: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:884: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:1105: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:1201: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/ext-src/aop.c:886: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:887: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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~

/tmp/ext-src/aop.c:890: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/ext-src/aop.c:890:100: error: expected ')' before 'TSRMLS_CC'
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_CATCH, return_value_ptr TSRMLS_CC);
                                                                                                    ^~~~~~~~~~
                                                                                                    )

/tmp/ext-src/aop.c: In function 'zif_aop_add_after_returning':

/tmp/ext-src/aop.c:897:56: warning: excess elements in struct initializer
     zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
                                                        ^~~~

/tmp/ext-src/aop.c:897:56: note: (near initialization for 'fcic')

/tmp/ext-src/aop.c:900:47: error: expected ')' before 'TSRMLS_CC'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
                                               ^~~~~~~~~

/tmp/ext-src/aop.c:900:9: error: too few arguments to function 'zend_parse_parameters'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
         ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:904: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:905: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:1105: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:1201: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/ext-src/aop.c:907: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:908: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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~

/tmp/ext-src/aop.c:911: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/ext-src/aop.c:911:101: error: expected ')' before 'TSRMLS_CC'
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_RETURN, return_value_ptr TSRMLS_CC);
                                                                                                     ^~~~~~~~~~
                                                                                                     )

/tmp/ext-src/aop.c: In function 'zif_aop_add_after':

/tmp/ext-src/aop.c:918:56: warning: excess elements in struct initializer
     zend_fcall_info_cache fcic= { 0, NULL, NULL, NULL, NULL };
                                                        ^~~~

/tmp/ext-src/aop.c:918:56: note: (near initialization for 'fcic')

/tmp/ext-src/aop.c:921:47: error: expected ')' before 'TSRMLS_CC'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
                                               ^~~~~~~~~

/tmp/ext-src/aop.c:921:9: error: too few arguments to function 'zend_parse_parameters'
     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sf", &selector, &selector_len, &fci, &fcic) == FAILURE) {
         ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:925: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:926: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:1105: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:1201: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/ext-src/aop.c:928: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:929: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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~

/tmp/ext-src/aop.c:931: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

/tmp/ext-src/aop.c:931:116: error: expected ')' before 'TSRMLS_CC'
     add_pointcut(fci, fcic, selector, selector_len, AOP_KIND_AFTER|AOP_KIND_CATCH|AOP_KIND_RETURN, return_value_ptr TSRMLS_CC);
                                                                                                                    ^~~~~~~~~~
                                                                                                                    )

/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.c:935:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void aop_execute_ex (zend_execute_data *execute_data TSRMLS_DC) {
                                                                    ^~~~~~~~~

/tmp/ext-src/aop.c:950:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void _zend_execute_overload (zend_op_array *ops TSRMLS_DC) {
                                                               ^~~~~~~~~

/tmp/ext-src/aop.c:955:52: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 ZEND_DLEXPORT void aop_execute (zend_op_array *ops TSRMLS_DC) {
                                                    ^~~~~~~~~

/tmp/ext-src/aop.c:1006:125: error: expected ';', ',' or ')' before 'TSRMLS_DC'
     void aop_execute_internal (zend_execute_data *current_execute_data, struct _zend_fcall_info *fci, int return_value_used TSRMLS_DC) {
                                                                                                                             ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'execute_context':

/tmp/ext-src/aop.c:1086:9: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1115:27: note: in expansion of macro 'EX'
         original_object = EX(object);
                           ^~

/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1116:9: note: in expansion of macro 'EX'
         EX(object) = object;
         ^~

/tmp/ext-src/aop.c:1118:112: 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/ext-src/aop.c:1131:72: 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:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:1131:24: 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:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1145:17: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584: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:996: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/ext-src/aop.c:1148:51: note: in expansion of macro 'EX'
                     if (ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1)) {
                                                   ^~

/tmp/ext-src/aop.c:1149:30: 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/ext-src/aop.c:1149:58: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584: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:999: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/ext-src/aop.c:1152:57: 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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1153:53: 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:325:52: note: in definition of macro 'UNEXPECTED'
 # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
                                                    ^~~~~~~~~

/tmp/ext-src/aop.c:1153:78: 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:325:52: note: in definition of macro 'UNEXPECTED'
 # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
                                                    ^~~~~~~~~
/tmp/ext-src/aop.c:1153:75: note: in expansion of macro 'EG'
                                 if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
                                                                           ^~

/tmp/ext-src/aop.c:1153:102: 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:325:52: note: in definition of macro 'UNEXPECTED'
 # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
                                                    ^~~~~~~~~
/tmp/ext-src/aop.c:1153:99: note: in expansion of macro 'EG'
                                 if (i || UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (EG(argument_stack)->top))) {
                                                                                                   ^~

/tmp/ext-src/aop.c:1154:37: warning: implicit declaration of function 'zend_vm_stack_push'; did you mean 'zend_ptr_stack_push'? [-Wimplicit-function-declaration]
                                     zend_vm_stack_push((void *) (zend_uintptr_t)i TSRMLS_CC);
                                     ^~~~~~~~~~~~~~~~~~
                                     zend_ptr_stack_push

/tmp/ext-src/aop.c:1154:82: error: expected ')' before 'TSRMLS_CC'
                                     zend_vm_stack_push((void *) (zend_uintptr_t)i TSRMLS_CC);
                                                                                  ^~~~~~~~~~
                                                                                  )

/tmp/ext-src/aop.c:1156:37: warning: implicit declaration of function 'zend_vm_stack_clear_multiple'; did you mean 'zend_vm_stack_copy_call_frame'? [-Wimplicit-function-declaration]
                                     zend_vm_stack_clear_multiple(0 TSRMLS_CC);
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     zend_vm_stack_copy_call_frame

/tmp/ext-src/aop.c:1156:67: error: expected ')' before 'TSRMLS_CC'
                                     zend_vm_stack_clear_multiple(0 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1164:41: 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:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1164:85: 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:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1165:41: note: in expansion of macro 'EX'
                                         EX(function_state).function->common.scope ? "::" : "",
                                         ^~

/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1166:41: note: in expansion of macro 'EX'
                                         EX(function_state).function->common.function_name
                                         ^~

/tmp/ext-src/aop.c:1171:29: warning: implicit declaration of function 'ALLOC_ZVAL'; did you mean 'ALLOCA_FLAG'? [-Wimplicit-function-declaration]
                             ALLOC_ZVAL(new_zval);
                             ^~~~~~~~~~
                             ALLOCA_FLAG

/tmp/ext-src/aop.c:1175:29: 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/ext-src/aop.c:1178:25: 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/ext-src/aop.c:1179:25: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1181:61: 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/ext-src/aop.c:1184:25: warning: implicit declaration of function 'INIT_PZVAL'; did you mean 'ZVAL_ZVAL'? [-Wimplicit-function-declaration]
                         INIT_PZVAL(param);
                         ^~~~~~~~~~
                         ZVAL_ZVAL

/tmp/ext-src/aop.c:1194:45: error: expected ')' before 'TSRMLS_CC'
                     zend_vm_stack_push(param TSRMLS_CC);
                                             ^~~~~~~~~~
                                             )

/tmp/ext-src/aop.c:1196:41: 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/ext-src/aop.c:1196:70: 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

/tmp/ext-src/aop.c:1196:88: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
                 EG(current_execute_data)->function_state.arguments = zend_vm_stack_top(TSRMLS_C);
                                                                                        ^~~~~~~~
                                                                                        TSRM_H

/tmp/ext-src/aop.c:1197:68: error: expected ')' before 'TSRMLS_CC'
                 zend_vm_stack_push((void*)(zend_uintptr_t)arg_count 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1200:48: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1203:25: 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/ext-src/aop.c:1204:9: 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/ext-src/aop.c:1205:24: note: in expansion of macro 'EG'
         current_this = EG(This);
                        ^~

/tmp/ext-src/aop.c:1206:35: 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/ext-src/aop.c:1208:16: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1209:20: 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:724,
                 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:35,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1210:16: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1214:18: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1215:17: 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/ext-src/aop.c:1217:17: 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/ext-src/aop.c:1219:35: 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:31,
                 from /tmp/ext-src/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:1105:41: note: in definition of macro 'Z_ADDREF_P'
 #define Z_ADDREF_P(pz)    zval_addref_p(pz)
                                         ^~
/tmp/ext-src/aop.c:1220:32: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1224:34: 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/ext-src/aop.c:1227:21: 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/ext-src/aop.c:1231:13: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1235:13: 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:724,
                 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:35,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1236:39: 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/ext-src/aop.c:1237: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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1237:25: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1239:37: 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/ext-src/aop.c:1240:33: 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/ext-src/aop.c:1241:13: 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/ext-src/aop.c:1242:13: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1242:53: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1243:35: note: in expansion of macro 'EG'
             original_opline_ptr = EG(opline_ptr);
                                   ^~

/tmp/ext-src/aop.c:1244:13: warning: implicit declaration of function '_zend_execute'; did you mean 'zend_execute'? [-Wimplicit-function-declaration]
             _zend_execute(EG(active_op_array) TSRMLS_CC);
             ^~~~~~~~~~~~~
             zend_execute

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/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 'active_op_array'
 # define EG(v) (executor_globals.v)
                                 ^
/tmp/ext-src/aop.c:1244:27: note: in expansion of macro 'EG'
             _zend_execute(EG(active_op_array) TSRMLS_CC);
                           ^~

/tmp/ext-src/aop.c:1244:47: error: expected ')' before 'TSRMLS_CC'
             _zend_execute(EG(active_op_array) TSRMLS_CC);
                                               ^~~~~~~~~

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1247:38: 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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: note: in expansion of macro 'EG'
                 FREE_HASHTABLE(EG(active_symbol_table));
                                ^~

/tmp/ext-src/aop.c:1248:35: 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/ext-src/aop.c:1248:17: note: in expansion of macro 'FREE_HASHTABLE'
                 FREE_HASHTABLE(EG(active_symbol_table));
                 ^~~~~~~~~~~~~~
/tmp/ext-src/aop.c:1248:32: 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:724,
                 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:35,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1252:24: 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/ext-src/aop.c:1253:40: 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/ext-src/aop.c:1254:54: 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/ext-src/aop.c:1257:13: 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/ext-src/aop.c:1258:13: 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/ext-src/aop.c:1259:13: note: in expansion of macro 'EG'
             EG(opline_ptr) = original_opline_ptr;
             ^~

/tmp/ext-src/aop.c:1260:16: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1261:20: note: in expansion of macro 'EX'
         } else if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION) {
                    ^~

/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1262:37: note: in expansion of macro 'EX'
             int call_via_handler = (EX(function_state).function->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) != 0;
                                     ^~

/tmp/ext-src/aop.c:1267:17: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1269:17: 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:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1270:17: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1270:29: note: in expansion of macro 'EX'
                 EG(scope) = EX(function_state).function->common.scope;
                             ^~

/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1272:41: 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);
                                         ^~

/tmp/ext-src/aop.c:1272:138: error: expected ')' before 'TSRMLS_CC'
             ((zend_internal_function *) EX(function_state).function)->handler(arg_count, *to_return_ptr_ptr, to_return_ptr_ptr, object, 1 TSRMLS_CC);
                                                                                                                                          ^~~~~~~~~~
                                                                                                                                          )

/tmp/ext-src/aop.c:1285:37: error: 'zend_object_handlers' {aka 'const struct _zend_object_handlers'} has no member named 'call_method'; did you mean 'get_method'?
                 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);
                                     ^~~~~~~~~~~
                                     get_method

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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1285:49: 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/ext-src/aop.c:1285:159: error: expected ')' before 'TSRMLS_CC'
                 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1290:17: note: in expansion of macro 'EX'
             if (EX(function_state).function->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) {
                 ^~

/tmp/ext-src/aop.c:1290:54: error: 'ZEND_OVERLOADED_FUNCTION_TEMPORARY' undeclared (first use in this function); did you mean 'ZEND_DECLARE_FUNCTION'?
             if (EX(function_state).function->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) {
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                      ZEND_DECLARE_FUNCTION

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584: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/ext-src/aop.c:1291:30: note: in expansion of macro 'EX'
                 efree((char*)EX(function_state).function->common.function_name);
                              ^~

/usr/local/include/php/Zend/zend_compile.h:584: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/ext-src/aop.c:1293:19: note: in expansion of macro 'EX'
             efree(EX(function_state).function);
                   ^~

/tmp/ext-src/aop.c:1301:67: error: expected ')' before 'TSRMLS_CC'
                                     zend_vm_stack_clear_multiple(0 TSRMLS_CC);
                                                                   ^~~~~~~~~~
                                                                   )

In file included from /usr/local/include/php/Zend/zend_globals.h:26,
                 from /usr/local/include/php/Zend/zend_compile.h:724,
                 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:35,
                 from /tmp/ext-src/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/ext-src/aop.c:1307:13: 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/ext-src/aop.c:1308:28: note: in expansion of macro 'EG'
             zval_ptr_dtor(&EG(This));
                            ^~

/tmp/ext-src/aop.c:1310:12: 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/ext-src/aop.c:1311: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/ext-src/aop.c:1312:9: 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:35,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_compile.h:584:39: error: invalid type argument of '->' (have 'zend_execute_data' {aka 'struct _zend_execute_data'})
 #define EX(element)    ((execute_data)->element)
                                       ^~
/tmp/ext-src/aop.c:1314:9: note: in expansion of macro 'EX'
         EX(object) = original_object;
         ^~

/tmp/ext-src/aop.c: In function 'pointcut_match_zend_class_entry':

/tmp/ext-src/aop.c:1356:19: 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/ext-src/aop.c:1356: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:2125,
                 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c:1361:102: 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:2125,
                 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c:1368:57: 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/ext-src/aop.c:1368:85: 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/ext-src/aop.c:1376:72: 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:2125,
                 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c: In function 'pointcut_match_zend_function':

/tmp/ext-src/aop.c:1409:115: 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:2125,
                 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c:1418:68: warning: passing argument 2 of 'strcasecmp' from incompatible pointer type [-Wincompatible-pointer-types]
             if (strcasecmp(pc->method+comp_start, curr_func->common.function_name)) {
                                                   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

In file included from /usr/include/string.h:431,
                 from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c: At top level:

/tmp/ext-src/aop.c:1425:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
     zval *get_current_args (zend_execute_data *ex TSRMLS_DC) {
                                                   ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'zm_shutdown_aop':

/tmp/ext-src/aop.c:1458:28: error: '_zend_execute' undeclared (first use in this function); did you mean 'zend_execute'?
         zend_execute_ex  = _zend_execute;
                            ^~~~~~~~~~~~~
                            zend_execute

/tmp/ext-src/aop.c:1462:34: error: '_zend_execute_internal' undeclared (first use in this function); did you mean 'zend_execute_internal'?
         zend_execute_internal  = _zend_execute_internal;
                                  ^~~~~~~~~~~~~~~~~~~~~~
                                  zend_execute_internal

/tmp/ext-src/aop.c: In function 'calculate_class_pointcuts':

/tmp/ext-src/aop.c:1480: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(pointcuts), (void **)&pc, &pos) == SUCCESS) {
                                                                ^~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:1480:16: error: too many arguments to function 'zend_hash_get_current_data_ex'
         while (zend_hash_get_current_data_ex(aop_g(pointcuts), (void **)&pc, &pos) == SUCCESS) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1486:49: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [-Wincompatible-pointer-types]
                 zend_hash_next_index_insert(ht, pc, sizeof(pointcut **), NULL);
                                                 ^~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132: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/ext-src/aop.c:1486:17: error: too many arguments to function 'zend_hash_next_index_insert'
                 zend_hash_next_index_insert(ht, pc, sizeof(pointcut **), NULL);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'calculate_function_pointcuts':

/tmp/ext-src/aop.c:1508:27: error: 'zend_execute_data' {aka 'struct _zend_execute_data'} has no member named 'function_state'
             curr_func = ex->function_state.function;
                           ^~

/tmp/ext-src/aop.c:1520:63: 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(class_pointcuts, (void **)&pc, &pos) == SUCCESS) {
                                                               ^~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:1520:16: error: too many arguments to function 'zend_hash_get_current_data_ex'
         while (zend_hash_get_current_data_ex(class_pointcuts, (void **)&pc, &pos) == SUCCESS) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1522:50: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [-Wincompatible-pointer-types]
                 zend_hash_next_index_insert (ht, pc, sizeof(pointcut **), NULL);
                                                  ^~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132: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/ext-src/aop.c:1522:17: error: too many arguments to function 'zend_hash_next_index_insert'
                 zend_hash_next_index_insert (ht, pc, sizeof(pointcut **), NULL);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:1532:83: note: in expansion of macro 'AOP_KEY_D'
     HashTable *calculate_property_pointcuts (zval *object, zval *member, int kind AOP_KEY_D) {
                                                                                   ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'calculate_property_pointcuts':

/tmp/ext-src/aop.c:1560:63: 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(class_pointcuts, (void **)&pc, &pos) == SUCCESS) {
                                                               ^~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235: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/ext-src/aop.c:1560:16: error: too many arguments to function 'zend_hash_get_current_data_ex'
         while (zend_hash_get_current_data_ex(class_pointcuts, (void **)&pc, &pos) == SUCCESS) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1574:45: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [-Wincompatible-pointer-types]
             zend_hash_next_index_insert(ht, pc, sizeof(pointcut *), NULL);
                                             ^~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132: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/ext-src/aop.c:1574:13: error: too many arguments to function 'zend_hash_next_index_insert'
             zend_hash_next_index_insert(ht, pc, sizeof(pointcut *), NULL);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:132:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c: In function 'get_object_cache_write':

/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
  _zend_hash_init((ht), (nSize), (pDestructor), (persistent))
                                 ^~~~~~~~~~~~~
/tmp/ext-src/aop.c:1591:9: note: in expansion of macro 'zend_hash_init'
         zend_hash_init(cache->write, 16, NULL, free_pointcut_cache ,0);
         ^~~~~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
 ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
                                                                            ~~~~~~~~~~~~^~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'get_object_cache_read':

/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
  _zend_hash_init((ht), (nSize), (pDestructor), (persistent))
                                 ^~~~~~~~~~~~~
/tmp/ext-src/aop.c:1602:9: note: in expansion of macro 'zend_hash_init'
         zend_hash_init(cache->read, 16, NULL, free_pointcut_cache,0);
         ^~~~~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
 ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
                                                                            ~~~~~~~~~~~~^~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'get_object_cache_func':

/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
  _zend_hash_init((ht), (nSize), (pDestructor), (persistent))
                                 ^~~~~~~~~~~~~
/tmp/ext-src/aop.c:1613:9: note: in expansion of macro 'zend_hash_init'
         zend_hash_init(cache->func, 16, NULL, free_pointcut_cache ,0);
         ^~~~~~~~~~~~~~

/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
 ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
                                                                            ~~~~~~~~~~~~^~~~~~~~~~~

/tmp/ext-src/aop.c: In function 'get_object_cache':

/tmp/ext-src/aop.c:1623:5: error: unknown type name 'zend_object_handle'; did you mean 'zend_object_handlers'?
     zend_object_handle handle;
     ^~~~~~~~~~~~~~~~~~
     zend_object_handlers

In file included from /tmp/ext-src/aop.c:28:
/tmp/ext-src/aop.c: At top level:

/tmp/ext-src/aop.h:59:30: error: unknown type name 'zend_literal'
 #define AOP_KEY_D    , const zend_literal *key
                              ^~~~~~~~~~~~
/tmp/ext-src/aop.c:1641:70: note: in expansion of macro 'AOP_KEY_D'
 HashTable * get_cache_property (zval *object, zval *member, int type AOP_KEY_D) {
                                                                      ^~~~~~~~~

/tmp/ext-src/aop.c: In function 'get_cache_property':

/tmp/ext-src/aop.c:1677:18: error: request for member 'hash_value' in something not a structure or union
     h = key ? key->hash_value : zend_get_hash_value(key_str, key_len);
                  ^~

/tmp/ext-src/aop.c:1679:36: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(ht_object_cache,key_str, key_len, (void **)&cache);
                                    ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:173: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/ext-src/aop.c:1679:5: error: too many arguments to function 'zend_hash_find'
     zend_hash_find(ht_object_cache,key_str, key_len, (void **)&cache);
     ^~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:173:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1683:40: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_hash_del(ht_object_cache, key_str, key_len);
                                        ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:165:78: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
 ZEND_API zend_result ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                                                                 ~~~~~~~~~~~~~^~~

/tmp/ext-src/aop.c:1683:9: error: too many arguments to function 'zend_hash_del'
         zend_hash_del(ht_object_cache, key_str, key_len);
         ^~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:165:36: note: declared here
 ZEND_API zend_result ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                                    ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:1691:40: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
                                        ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119: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/ext-src/aop.c:1691:49: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
                                                 ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
 ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:1691:9: error: too many arguments to function 'zend_hash_add'
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
         ^~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:1696:23: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
         zval_ptr_dtor(&member);
                       ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:36,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
 ZEND_API void zval_ptr_dtor(zval *zval_ptr);
                             ~~~~~~^~~~~~~~

/tmp/ext-src/aop.c: In function 'get_cache_func':

/tmp/ext-src/aop.c:1710: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:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:110:24: note: in definition of macro '_emalloc'
  (__builtin_constant_p(size) ? \
                        ^~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:110:24: note: in definition of macro '_emalloc'
  (__builtin_constant_p(size) ? \
                        ^~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:100:4: note: in definition of macro '_ZEND_BIN_ALLOCATOR_SELECTOR_START'
  ((size <= _size) ? _emalloc_ ## _size() :
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:105:2: note: in expansion of macro 'ZEND_MM_BINS_INFO'
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:111:3: note: in expansion of macro 'ZEND_ALLOCATOR'
   ZEND_ALLOCATOR(size) \
   ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:4: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:4: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
    ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:53: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                     ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:53: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                     ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:75: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                                           ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:106:75: note: in definition of macro 'ZEND_ALLOCATOR'
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                                           ^~~~
/usr/local/include/php/Zend/zend_alloc.h:157:28: note: in expansion of macro '_emalloc'
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^~~~~~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:71: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/php/Zend/zend_alloc.h:113:12: note: in definition of macro '_emalloc'
   _emalloc(size) \
            ^~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1715:105: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                                                                                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:113:12: note: in definition of macro '_emalloc'
   _emalloc(size) \
            ^~~~
/tmp/ext-src/aop.c:1715:31: note: in expansion of macro 'emalloc'
             key_str = (char *)emalloc (strlen (curr_func->common.scope->name) + strlen(curr_func->common.function_name) + 3);
                               ^~~~~~~

In file included from /usr/local/include/php/main/../main/php_config.h:2125,
                 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:31,
                 from /tmp/ext-src/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)
                       ~~~~~~~~~~~~^~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1719:48: warning: passing argument 1 of '_estrdup' from incompatible pointer type [-Wincompatible-pointer-types]
             key_str = 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:31,
                 from /tmp/ext-src/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;
                               ^~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:30,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/tmp/ext-src/aop.c:1723:44: warning: passing argument 1 of '_estrdup' from incompatible pointer type [-Wincompatible-pointer-types]
         key_str = 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:31,
                 from /tmp/ext-src/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/ext-src/aop.c:1727:36: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
     zend_hash_find(ht_object_cache,key_str, key_len, (void **)&cache);
                                    ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:173: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/ext-src/aop.c:1727:5: error: too many arguments to function 'zend_hash_find'
     zend_hash_find(ht_object_cache,key_str, key_len, (void **)&cache);
     ^~~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:173:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^~~~~~~~~~~~~~

/tmp/ext-src/aop.c:1731:40: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_hash_del(ht_object_cache, key_str, key_len);
                                        ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:165:78: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
 ZEND_API zend_result ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                                                                 ~~~~~~~~~~~~~^~~

/tmp/ext-src/aop.c:1731:9: error: too many arguments to function 'zend_hash_del'
         zend_hash_del(ht_object_cache, key_str, key_len);
         ^~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:165:36: note: declared here
 ZEND_API zend_result ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                                    ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:1746:40: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
                                        ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119: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/ext-src/aop.c:1746:49: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
                                                 ^~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
 ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~

/tmp/ext-src/aop.c:1746:9: error: too many arguments to function 'zend_hash_add'
         zend_hash_add(ht_object_cache, key_str, key_len, cache, sizeof(pointcut_cache), (void **)&_cache);
         ^~~~~~~~~~~~~

In file included from /usr/local/include/php/Zend/zend.h:33,
                 from /usr/local/include/php/main/php.h:31,
                 from /tmp/ext-src/aop.c:22:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~

make: *** [Makefile:208: aop.lo] Error 1