Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8 Support for decimal 2.x #54

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andypost
Copy link

@andypost andypost commented Dec 8, 2020

WIP on

  • ZEND_TYPE_ENCODE_CLASS_CONST to ZEND_TYPE_INIT_CLASS_CONST looks it needs one more condition to 80000 php/php-src@ac4e0f0
  • Z_PARAM_STRICT_LONG to Z_PARAM_LONG - implementation in 8.x are the same, but needs checking php/php-src@8a0965e

Ref #43 (comment)

@andypost
Copy link
Author

andypost commented Dec 8, 2020

Build log and tests for me locally are

build and tests
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2072: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
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 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -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-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib
checking for PHP extension directory... /usr/lib/php8/modules
checking for PHP installed headers prefix... /usr/include/php8
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable decimal support... yes, shared
checking for libmpdec custom path... no
checking for libmpdec library in default path... found in /usr/lib
checking for libmpdec headers in default path... found in /usr/include
checking for mpd_version in -lmpdec... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/x86_64-alpine-linux-musl/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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/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
checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... 
checking if g++ static flag  works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/php_decimal.c -o php_decimal.lo 
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/common.c -o src/common.lo 
mkdir .libs
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/php_decimal.c  -fPIC -DPIC -o .libs/php_decimal.o
mkdir src/.libs
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/common.c  -fPIC -DPIC -o src/.libs/common.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c -o src/compare.lo 
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/context.c -o src/context.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c  -fPIC -DPIC -o src/.libs/compare.o
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/context.c  -fPIC -DPIC -o src/.libs/context.o
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c: In function 'php_decimal_compare_invoke':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c:261:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  261 |     zend_call_method_with_1_params((zval *) obj, Z_OBJCE_P(obj), NULL, "compareto", &cmp, (zval *) op2);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:47:19: note: in definition of macro 'zend_call_method_with_1_params'
   47 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/compare.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c -o src/convert.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c  -fPIC -DPIC -o src/.libs/convert.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c -o src/decimal.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c  -fPIC -DPIC -o src/.libs/decimal.o
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_is_integer':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:109:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  109 |     zend_call_method_with_0_params((zval *) obj, Z_OBJCE_P(obj), NULL, "trunc", &trunc);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_to_double':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:533:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  533 |     zend_call_method_with_0_params((zval *) obj, Z_OBJCE_P(obj), NULL, "tofloat", &tmp);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_to_long':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:545:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  545 |     zend_call_method_with_0_params((zval *) obj, Z_OBJCE_P(obj), NULL, "toint", &tmp);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_to_string':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:554:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  554 |     zend_call_method_with_0_params((zval *) obj, Z_OBJCE_P(obj), NULL, "tostring", result);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_to_mpd':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:565:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  565 |     zend_call_method_with_1_params((zval *) obj, Z_OBJCE_P(obj), NULL, "todecimal", &result, &zprec);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:47:19: note: in definition of macro 'zend_call_method_with_1_params'
   47 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c: In function 'php_decimal_number_to_num_den':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:579:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  579 |     zend_call_method_with_0_params((zval *) obj, Z_OBJCE_P(obj), NULL, "torational", &result);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/convert.c:25:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c: In function 'php_decimal_register_decimal_class':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1170:43: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1170 |     php_decimal_handlers.clone_obj        = php_decimal_clone_obj;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1171:43: warning: assignment to 'zend_object_cast_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [-Wincompatible-pointer-types]
 1171 |     php_decimal_handlers.cast_object      = php_decimal_cast_object_handler;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1172:43: warning: assignment to 'zend_object_compare_t' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, zval *)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1172 |     php_decimal_handlers.compare          = php_decimal_compare_handler;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1174:43: warning: assignment to 'zend_object_get_debug_info_t' {aka 'struct _zend_array * (*)(struct _zend_object *, int *)'} from incompatible pointer type 'HashTable * (*)(zval *, int *)' {aka 'struct _zend_array * (*)(struct _zval_struct *, int *)'} [-Wincompatible-pointer-types]
 1174 |     php_decimal_handlers.get_debug_info   = php_decimal_get_debug_info_handler;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1175:43: warning: assignment to 'zend_object_read_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, int,  void **, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int,  void **, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int,  void **, struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1175 |     php_decimal_handlers.read_property    = php_decimal_blocked_read_property;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1176:43: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, struct _zval_struct *, void **)'} from incompatible pointer type 'zval * (*)(zval *, zval *, zval *, void **)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
 1176 |     php_decimal_handlers.write_property   = php_decimal_blocked_write_property;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1177:43: warning: assignment to 'zend_object_has_property_t' {aka 'int (*)(struct _zend_object *, struct _zend_string *, int,  void **)'} from incompatible pointer type 'int (*)(zval *, zval *, int,  void **)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int,  void **)'} [-Wincompatible-pointer-types]
 1177 |     php_decimal_handlers.has_property     = php_decimal_blocked_has_property;
      |                                           ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/decimal.c:1178:43: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
 1178 |     php_decimal_handlers.unset_property   = php_decimal_blocked_unset_property;
      |                                           ^
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/errors.c -o src/errors.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/errors.c  -fPIC -DPIC -o src/.libs/errors.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/globals.c -o src/globals.lo 
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c -o src/math.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c  -fPIC -DPIC -o src/.libs/math.o
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/globals.c  -fPIC -DPIC -o src/.libs/globals.o
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c: In function 'php_decimal_number_parity':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:847:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  847 |     zend_call_method_with_1_params((zval *) obj, Z_OBJCE_P(obj), NULL, "mod", &tmp, &two);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:47:19: note: in definition of macro 'zend_call_method_with_1_params'
   47 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:850:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  850 |     zend_call_method_with_0_params(&tmp, Z_OBJCE_P(&tmp), NULL, "iszero", &res);
      |                                    ^~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/math.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c -o src/number.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c  -fPIC -DPIC -o src/.libs/number.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c -o src/parse.lo 
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'php_decimal_number_do_operation':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:119:26: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  119 |         zend_call_method(op1, Z_OBJCE_P(op1), NULL, func, strlen(func), result, 1, op2, NULL);
      |                          ^~~
      |                          |
      |                          zval * {aka struct _zval_struct *}
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:139:26: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  139 |         zend_call_method(&tmp, Z_OBJCE_P(&tmp), NULL, func, strlen(func), result, 1, op2, NULL);
      |                          ^~~~
      |                          |
      |                          zval * {aka struct _zval_struct *}
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_floor':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:280:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  280 |     zend_call_method_with_2_params(obj, Z_OBJCE_P(obj), NULL, "round", return_value, &places, &mode);
      |                                    ^~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:50:19: note: in definition of macro 'zend_call_method_with_2_params'
   50 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, arg2)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_ceil':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:300:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  300 |     zend_call_method_with_2_params(obj, Z_OBJCE_P(obj), NULL, "round", return_value, &places, &mode);
      |                                    ^~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:50:19: note: in definition of macro 'zend_call_method_with_2_params'
   50 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, arg2)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_trunc':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:320:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  320 |     zend_call_method_with_2_params(obj, Z_OBJCE_P(obj), NULL, "round", return_value, &places, &mode);
      |                                    ^~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:50:19: note: in definition of macro 'zend_call_method_with_2_params'
   50 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, arg2)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_abs':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:336:40: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  336 |         zend_call_method_with_0_params(obj, Z_OBJCE_P(obj), NULL, "negate", return_value);
      |                                        ^~~
      |                                        |
      |                                        zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_negate':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:356:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  356 |     zend_call_method_with_1_params(obj, Z_OBJCE_P(obj), NULL, "mul", return_value, &negative_one);
      |                                    ^~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:47:19: note: in definition of macro 'zend_call_method_with_1_params'
   47 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number___toString':
/usr/include/php8/Zend/zend_API.h:416:73: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  416 | #define getThis()       ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      |                                                                         |
      |                                                                         zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:591:36: note: in expansion of macro 'getThis'
  591 |     zend_call_method_with_0_params(getThis(), Z_OBJCE_P(getThis()), NULL, "tostring", return_value);
      |                                    ^~~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'zim_Number_jsonSerialize':
/usr/include/php8/Zend/zend_API.h:416:73: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
  416 | #define getThis()       ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      |                                                                         |
      |                                                                         zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:602:36: note: in expansion of macro 'getThis'
  602 |     zend_call_method_with_0_params(getThis(), Z_OBJCE_P(getThis()), NULL, "tostring", return_value);
      |                                    ^~~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c: In function 'php_decimal_register_number_class':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:727:46: warning: assignment to 'zend_object_compare_t' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, zval *)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *)'} [-Wincompatible-pointer-types]
  727 |     php_decimal_number_handlers.compare      = php_decimal_number_compare_handler;
      |                                              ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/number.c:728:46: warning: assignment to 'zend_object_cast_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [-Wincompatible-pointer-types]
  728 |     php_decimal_number_handlers.cast_object  = php_decimal_number_cast_object;
      |                                              ^
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c  -fPIC -DPIC -o src/.libs/parse.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c -o src/rational.lo 
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c: In function 'php_decimal_parse_number_to_decimal':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:55:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
   55 |     zend_call_method_with_1_params((zval *) val, Z_OBJCE_P(val), NULL, "todecimal", result, &_prec);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:47:19: note: in definition of macro 'zend_call_method_with_1_params'
   47 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:24:
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c: In function 'php_decimal_parse_number_to_rational':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:65:36: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [-Wincompatible-pointer-types]
   65 |     zend_call_method_with_0_params((zval *) val, Z_OBJCE_P(val), NULL, "torational", result);
      |                                    ^~~~~~~~~~~~
      |                                    |
      |                                    zval * {aka struct _zval_struct *}
/usr/include/php8/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
   44 |  zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
      |                   ^~~
In file included from /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/parse.c:24:
/usr/include/php8/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
   41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
      |                                 ~~~~~~~~~~~~~^~~~~~
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c  -fPIC -DPIC -o src/.libs/rational.o
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=compile gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/round.c -o src/round.lo 
 gcc -I. -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib -Os -fomit-frame-pointer -DHAVE_CONFIG_H -Os -fomit-frame-pointer -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/round.c  -fPIC -DPIC -o src/.libs/round.o
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c: In function 'php_decimal_register_rational_class':
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1093:52: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1093 |     php_decimal_rational_handlers.clone_obj        = php_decimal_rational_clone_obj;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1094:52: warning: assignment to 'zend_object_cast_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [-Wincompatible-pointer-types]
 1094 |     php_decimal_rational_handlers.cast_object      = php_decimal_rational_cast_object;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1095:52: warning: assignment to 'zend_object_compare_t' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'php_decimal_success_t (*)(zval *, zval *, zval *)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1095 |     php_decimal_rational_handlers.compare          = php_decimal_rational_compare_handler;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1097:52: warning: assignment to 'zend_object_get_debug_info_t' {aka 'struct _zend_array * (*)(struct _zend_object *, int *)'} from incompatible pointer type 'HashTable * (*)(zval *, int *)' {aka 'struct _zend_array * (*)(struct _zval_struct *, int *)'} [-Wincompatible-pointer-types]
 1097 |     php_decimal_rational_handlers.get_debug_info   = php_decimal_rational_get_debug_info;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1098:52: warning: assignment to 'zend_object_read_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, int,  void **, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int,  void **, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int,  void **, struct _zval_struct *)'} [-Wincompatible-pointer-types]
 1098 |     php_decimal_rational_handlers.read_property    = php_decimal_blocked_read_property;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1099:52: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, struct _zval_struct *, void **)'} from incompatible pointer type 'zval * (*)(zval *, zval *, zval *, void **)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
 1099 |     php_decimal_rational_handlers.write_property   = php_decimal_blocked_write_property;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1100:52: warning: assignment to 'zend_object_has_property_t' {aka 'int (*)(struct _zend_object *, struct _zend_string *, int,  void **)'} from incompatible pointer type 'int (*)(zval *, zval *, int,  void **)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int,  void **)'} [-Wincompatible-pointer-types]
 1100 |     php_decimal_rational_handlers.has_property     = php_decimal_blocked_has_property;
      |                                                    ^
/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/src/rational.c:1101:52: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
 1101 |     php_decimal_rational_handlers.unset_property   = php_decimal_blocked_unset_property;
      |                                                    ^
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=link gcc -shared -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/include -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/main -I/mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17 -I/usr/include/php8 -I/usr/include/php8/main -I/usr/include/php8/TSRM -I/usr/include/php8/Zend -I/usr/include/php8/ext -I/usr/include/php8/ext/date/lib  -Os -fomit-frame-pointer -DHAVE_CONFIG_H  -Os -fomit-frame-pointer  -Wl,--as-needed  -o decimal.la -export-dynamic -avoid-version -prefer-pic -module -rpath /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules  php_decimal.lo src/common.lo src/compare.lo src/context.lo src/convert.lo src/decimal.lo src/errors.lo src/globals.lo src/math.lo src/number.lo src/parse.lo src/rational.lo src/round.lo -lmpdec
gcc -shared  .libs/php_decimal.o src/.libs/common.o src/.libs/compare.o src/.libs/context.o src/.libs/convert.o src/.libs/decimal.o src/.libs/errors.o src/.libs/globals.o src/.libs/math.o src/.libs/number.o src/.libs/parse.o src/.libs/rational.o src/.libs/round.o  -lmpdec  -Wl,--as-needed -Wl,-soname -Wl,decimal.so -o .libs/decimal.so
creating decimal.la
(cd .libs && rm -f decimal.la && ln -s ../decimal.la decimal.la)
/bin/sh /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/libtool --mode=install cp ./decimal.la /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules
cp ./.libs/decimal.so /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules/decimal.so
cp ./.libs/decimal.lai /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules/decimal.la
PATH="$PATH:/sbin" ldconfig -n /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

@andy-HP:/mnt/testing/php8-pecl-decimal$ abuild check

Build complete.
Don't forget to run 'make test'.


=====================================================================
PHP         : /usr/bin/php8 
PHP_SAPI    : cli
PHP_VERSION : 8.0.0
ZEND_VERSION: 4.0.0-dev
PHP_OS      : Linux - Linux andy-HP 5.8.0-32-generic #34-Ubuntu SMP Fri Nov 27 15:10:41 UTC 2020 x86_64
INI actual  : /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tmp-php.ini
More .INIs  :   
CWD         : /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2020-12-08 23:31:22
=====================================================================
TEST 1/125 [tests/Decimal/cast.phpt]
========DIFF========
001+ 
001- A Integer overflow
002- B Floating point underflow
003- C Floating point underflow
004- D Converting NaN or Infinity to integer is undefined
005- E Converting NaN or Infinity to integer is undefined
006- F Converting NaN or Infinity to integer is undefined
========DONE========
FAIL Decimal cast to string, bool, int, float [tests/Decimal/cast.phpt] 
TEST 2/125 [tests/Decimal/clone.phpt]
========DIFF========
001+ 
001- object(Decimal\Decimal)#%d (2) {
002-   ["value"]=>
003-   string(5) "1.234"
004-   ["precision"]=>
005-   int(16)
006- }
007- object(Decimal\Decimal)#%d (2) {
008-   ["value"]=>
009-   string(5) "1.234"
010-   ["precision"]=>
011-   int(16)
012- }
========DONE========
FAIL Decimal clone [tests/Decimal/clone.phpt] 
TEST 3/125 [tests/Decimal/constants.phpt]
========DIFF========
--
     int(1)
     int(%d)
     string(17) "3.141592653589793"
014+ 
015+ Termsig=0
014- object(Decimal\Decimal)#%d (2) {
015-   ["value"]=>
016-   string(17) "3.141592653589793"
017-   ["precision"]=>
018-   int(34)
019- }
020- string(36) "2.7182818284590452353602874713526625"
021- object(Decimal\Decimal)#%d (2) {
022-   ["value"]=>
023-   string(36) "2.7182818284590452353602874713526625"
024-   ["precision"]=>
025-   int(34)
026- }
========DONE========
FAIL Decimal constants [tests/Decimal/constants.phpt] 
PASS Decimal empty [tests/Decimal/empty.phpt] 
TEST 5/125 [tests/Decimal/json.phpt]
========DIFF========
001+ string(3) "NAN"
002+ string(5) ""NAN""
003+ string(5) ""NAN""
001- string(6) "1.2345"
002- string(8) ""1.2345""
003- string(8) ""5.0000""
========DONE========
FAIL Decimal json_encode [tests/Decimal/json.phpt] 
TEST 6/125 [tests/Decimal/methods/__construct.phpt]
========DIFF========
001+ Fatal error: Uncaught Error: Call to private Decimal\Decimal::__construct() from global scope in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Decimal/methods/__construct.php:2
001- Fatal error: Uncaught Error: Call to private Decimal\Decimal::__construct() from invalid context in %s:%d
     Stack trace:
     #0 {main}
       thrown in %s on line %d
========DONE========
FAIL Decimal::__construct [tests/Decimal/methods/__construct.phpt] 
TEST 7/125 [tests/Decimal/methods/abs.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::abs [tests/Decimal/methods/abs.phpt] 
TEST 8/125 [tests/Decimal/methods/add.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::add [tests/Decimal/methods/add.phpt] 
PASS Decimal::between [tests/Decimal/methods/between.phpt] 
PASS Decimal::ceil [tests/Decimal/methods/ceil.phpt] 
PASS Decimal::compareTo [tests/Decimal/methods/compareTo.phpt] 
TEST 12/125 [tests/Decimal/methods/div.phpt]
========DIFF========
001+ Termsig=0
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Decimal::div [tests/Decimal/methods/div.phpt] 
PASS Decimal::equals [tests/Decimal/methods/equals.phpt] 
PASS Decimal::exp [tests/Decimal/methods/exp.phpt] 
TEST 15/125 [tests/Decimal/methods/floor.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::floor [tests/Decimal/methods/floor.phpt] 
PASS Decimal::isEven [tests/Decimal/methods/isEven.phpt] 
PASS Decimal::isInf [tests/Decimal/methods/isInf.phpt] 
PASS Decimal::isInteger [tests/Decimal/methods/isInteger.phpt] 
PASS Decimal::isNaN [tests/Decimal/methods/isNaN.phpt] 
PASS Decimal::isOdd [tests/Decimal/methods/isOdd.phpt] 
PASS Decimal::isZero [tests/Decimal/methods/isZero.phpt] 
PASS Decimal::ln [tests/Decimal/methods/ln.phpt] 
PASS Decimal::log10 [tests/Decimal/methods/log10.phpt] 
TEST 24/125 [tests/Decimal/methods/mod.phpt]
========DIFF========
001+ Termsig=0
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Decimal::mod [tests/Decimal/methods/mod.phpt] 
PASS Decimal::mul [tests/Decimal/methods/mul.phpt] 
PASS Decimal::negate [tests/Decimal/methods/negate.phpt] 
TEST 27/125 [tests/Decimal/methods/pow.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::pow [tests/Decimal/methods/pow.phpt] 
TEST 28/125 [tests/Decimal/methods/precision.phpt]
========DIFF========
--
     int(34)
     int(5)
     
005+ Warning: Undefined variable $x in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Decimal/methods/precision.php on line 11
005- Notice: Undefined variable: x in %s on line %d
     NULL
========DONE========
FAIL Decimal::precision [tests/Decimal/methods/precision.phpt] 
PASS Decimal::reduce [tests/Decimal/methods/reduce.phpt] 
TEST 30/125 [tests/Decimal/methods/rem.phpt]
========DIFF========
001+ 
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Decimal::rem [tests/Decimal/methods/rem.phpt] 
TEST 31/125 [tests/Decimal/methods/round.phpt]
========DIFF========
001+ 
001- A Unsupported rounding mode
002- B Failed to round decimal - exponent out of range
003- C TypeError
004- D TypeError
========DONE========
FAIL Decimal::round [tests/Decimal/methods/round.phpt] 
TEST 32/125 [tests/Decimal/methods/shiftl.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::shiftl [tests/Decimal/methods/shiftl.phpt] 
TEST 33/125 [tests/Decimal/methods/shiftr.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Decimal::shiftr [tests/Decimal/methods/shiftr.phpt] 
PASS Decimal::sqrt [tests/Decimal/methods/sqrt.phpt] 
PASS Decimal::sub [tests/Decimal/methods/sub.phpt] 
TEST 36/125 [tests/Decimal/methods/toDecimal.phpt]
========DIFF========
001+ 
001- Decimal\Decimal Object
002- (
003-     [value] => 0
004-     [precision] => 34
005- )
006- Decimal\Decimal Object
007- (
008-     [value] => 1.234
009-     [precision] => 34
010- )
011- Decimal\Decimal Object
012- (
013-     [value] => 1.000
014-     [precision] => 34
015- )
016- Decimal\Decimal Object
017- (
018-     [value] => 0
019-     [precision] => 34
020- )
021- Decimal\Decimal Object
022- (
023-     [value] => 1.234
024-     [precision] => 34
025- )
026- Decimal\Decimal Object
027- (
028-     [value] => 1.000
029-     [precision] => 34
030- )
031- Decimal\Decimal Object
032- (
033-     [value] => 0
034-     [precision] => 2
035- )
036- Decimal\Decimal Object
037- (
038-     [value] => 1.234
039-     [precision] => 2
040- )
041- Decimal\Decimal Object
042- (
043-     [value] => 1.000
044-     [precision] => 2
045- )
046- Decimal\Decimal Object
047- (
048-     [value] => 0
049-     [precision] => 50
050- )
051- Decimal\Decimal Object
052- (
053-     [value] => 1.234
054-     [precision] => 50
055- )
056- Decimal\Decimal Object
057- (
058-     [value] => 1.000
059-     [precision] => 50
060- )
061- OutOfRangeException: Decimal precision out of range
========DONE========
FAIL Decimal::toDecimal [tests/Decimal/methods/toDecimal.phpt] 
PASS Decimal::toFixed [tests/Decimal/methods/toFixed.phpt] 
TEST 38/125 [tests/Decimal/methods/toFloat.phpt]
========DIFF========
     UnderflowException: Floating point underflow
002- float(NAN)
========DONE========
FAIL Decimal::toFloat [tests/Decimal/methods/toFloat.phpt] 
PASS Decimal::toInt [tests/Decimal/methods/toInt.phpt] 
TEST 40/125 [tests/Decimal/methods/toRational.phpt]
========DIFF========
001+ 
001- Decimal\Rational Object
002- (
003-     [num] => 0
004-     [den] => 1
005- )
006- Decimal\Rational Object
007- (
008-     [num] => 617
009-     [den] => 500
010- )
011- Decimal\Rational Object
012- (
013-     [num] => 1
014-     [den] => 1
015- )
========DONE========
FAIL Decimal::toRational [tests/Decimal/methods/toRational.phpt] 
PASS Decimal::toString [tests/Decimal/methods/toSci.phpt] 
PASS Decimal::toString [tests/Decimal/methods/toString.phpt] 
PASS Decimal::trim [tests/Decimal/methods/trim.phpt] 
PASS Decimal::trunc [tests/Decimal/methods/trunc.phpt] 
TEST 45/125 [tests/Decimal/methods/valueOf.phpt]
========DIFF========
001+ Termsig=0
001- A Failed to parse string as decimal: " 1"
002- B Failed to parse string as decimal: "1 "
003- C Decimal\Decimal::valueOf() expected parameter 1 to be a decimal number, string, or integer
004- D Decimal\Decimal::valueOf() expected parameter 1 to be a decimal number, string, or integer
005- E Argument 2 passed to Decimal\Decimal::valueOf() must be of the type in%s or null, string given
006- F Decimal precision out of range
007- G Decimal precision out of range
008- H Decimal precision out of range
009- I Decimal precision out of range
010- J Call to private method Decimal\Decimal::__construct() from context ''
011- K Decimal\Decimal::valueOf() expects at least 1 parameter, 0 given
========DONE========
FAIL Decimal::valueOf [tests/Decimal/methods/valueOf.phpt] 
TEST 46/125 [tests/Decimal/operators.phpt]
========DIFF========
001+ 
001- Decimal\Decimal Object
002- (
003-     [value] => 200000000
004-     [precision] => 12
005- )
006- Decimal\Decimal Object
007- (
008-     [value] => 100000000
009-     [precision] => 12
010- )
011- Operator not supported by decimal numbers
========DONE========
FAIL Decimal operators [tests/Decimal/operators.phpt] 
PASS Decimal properties [tests/Decimal/properties.phpt] 
TEST 48/125 [tests/Decimal/refcount.phpt]
========DIFF========
001+ 
001- object(Decimal\Decimal)#%d (2) refcount(2){
002-   ["value"]=>
003-   string(1) "3" refcount(1)
004-   ["precision"]=>
005-   int(5)
006- }
007- object(Decimal\Decimal)#%d (2) refcount(2){
008-   ["value"]=>
009-   string(1) "6" refcount(1)
010-   ["precision"]=>
011-   int(5)
012- }
013- object(Decimal\Decimal)#%d (2) refcount(2){
014-   ["value"]=>
015-   string(1) "7" refcount(1)
016-   ["precision"]=>
017-   int(5)
018- }
019- object(Decimal\Decimal)#%d (2) refcount(2){
020-   ["value"]=>
021-   string(2) "14" refcount(1)
022-   ["precision"]=>
023-   int(5)
024- }
025- object(Decimal\Decimal)#%d (2) refcount(2){
026-   ["value"]=>
027-   string(2) "23" refcount(1)
028-   ["precision"]=>
029-   int(5)
030- }
031- object(Decimal\Decimal)#%d (2) refcount(2){
032-   ["value"]=>
033-   string(2) "24" refcount(1)
034-   ["precision"]=>
035-   int(5)
036- }
037- object(Decimal\Decimal)#%d (2) refcount(2){
038-   ["value"]=>
039-   string(2) "48" refcount(1)
040-   ["precision"]=>
041-   int(5)
042- }
043- DomainException: Failed to parse string as decimal: "a"
044- object(Decimal\Decimal)#%d (2) refcount(2){
045-   ["value"]=>
046-   string(3) "NAN" refcount(1)
047-   ["precision"]=>
048-   int(5)
049- }
========DONE========
FAIL Decimal reference counting [tests/Decimal/refcount.phpt] 
TEST 49/125 [tests/Decimal/serialize.phpt]
========DIFF========
     string(54) "C:15:"Decimal\Decimal":26:{s:13:"1.2345678E+12";i:42;}"
002- object(Decimal\Decimal)#%d (2) {
003-   ["value"]=>
004-   string(13) "1234567800000"
005-   ["precision"]=>
006-   int(42)
007- }
008- 
009- Fatal error: Uncaught RuntimeException: Failed to unserialize decimal number string in %s
010- Stack trace:
011- #0 %s: unserialize('C:15:"Decimal\\D...')
012- #1 {main}
013-   thrown in %s on line %d
========DONE========
FAIL Decimal serialize/unserialize [tests/Decimal/serialize.phpt] 
TEST 50/125 [tests/Number/cast.phpt]
========DIFF========
001+ 
001- string(1) "4"
002- bool(true)
003- int(2)
004- float(2.9)
========DONE========
FAIL Number cast to string, bool, int, float [tests/Number/cast.phpt] 
PASS Number clone [tests/Number/clone.phpt] 
PASS Number constants [tests/Number/constants.phpt] 
PASS Number empty [tests/Number/empty.phpt] 
TEST 54/125 [tests/Number/json.phpt]
========DIFF========
001+ 
001- string(5) ""0.3""
002- string(3) ""*""
========DONE========
FAIL Number json_encode [tests/Number/json.phpt] 
TEST 55/125 [tests/Number/methods/abs.phpt]
========DIFF========
001+ 
001- Number Object
002- (
003-     [value:protected] => 0
004- )
005- Number Object
006- (
007-     [value:protected] => 0
008- )
009- Number Object
010- (
011-     [value:protected] => 5
012- )
013- Number::mul
014- Number Object
015- (
016-     [value:protected] => 5
017- )
018- Number Object
019- (
020-     [value:protected] => 5
021- )
022- Number::mul
023- Number Object
024- (
025-     [value:protected] => 5
026- )
027- Number Object
028- (
029-     [value:protected] => NAN
030- )
031- Number Object
032- (
033-     [value:protected] => INF
034- )
035- Number::mul
036- Number Object
037- (
038-     [value:protected] => INF
039- )
========DONE========
FAIL Number::abs [tests/Number/methods/abs.phpt] 
TEST 56/125 [tests/Number/methods/add.phpt]
========DIFF========
     Number::add
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 6.5
005- )
006- Number::add
007- Number Object
008- (
009-     [value:protected] => 6.5
010- )
011- Number::add
012- Number Object
013- (
014-     [value:protected] => 6.5
015- )
016- Number::add
017- Number Object
018- (
019-     [value:protected] => 6.5
020- )
021- Number::add
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 6.5
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::add
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 6.5
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::add
042- Number Object
043- (
044-     [value:protected] => Decimal\Rational Object
045-         (
046-             [num] => 13
047-             [den] => 2
048-         )
049- 
050- )
051- Number::add
052- Number Object
053- (
054-     [value:protected] => Decimal\Rational Object
055-         (
056-             [num] => 13
057-             [den] => 2
058-         )
059- 
060- )
061- Number::toDecimal
062- Decimal\Decimal Object
063- (
064-     [value] => 6.5
065-     [precision] => 34
066- )
067- Number::toDecimal
068- Decimal\Decimal Object
069- (
070-     [value] => 6.5
071-     [precision] => 34
072- )
073- Number::toRational
074- Decimal\Rational Object
075- (
076-     [num] => 13
077-     [den] => 2
078- )
079- Number::toRational
080- Decimal\Rational Object
081- (
082-     [num] => 13
083-     [den] => 2
084- )
========DONE========
FAIL Number::add [tests/Number/methods/add.phpt] 
TEST 57/125 [tests/Number/methods/between.phpt]
========DIFF========
001- bool(true)
002- bool(true)
003- bool(true)
004- bool(true)
     
006- bool(false)
007- bool(false)
008- bool(false)
009- bool(false)
========DONE========
FAIL Number::between [tests/Number/methods/between.phpt] 
TEST 58/125 [tests/Number/methods/ceil.phpt]
========DIFF========
001+ 
001- Number::toDecimal
002- Number Object
003- (
004-     [value:protected] => 0
005- )
006- Number::toDecimal
007- Number Object
008- (
009-     [value:protected] => 0
010- )
011- Number::toDecimal
012- Number Object
013- (
014-     [value:protected] => 1
015- )
016- Number::toDecimal
017- Number Object
018- (
019-     [value:protected] => -0
020- )
021- Number::toDecimal
022- Number Object
023- (
024-     [value:protected] => NAN
025- )
026- Number::toDecimal
027- Number Object
028- (
029-     [value:protected] => INF
030- )
031- Number::toDecimal
032- Number Object
033- (
034-     [value:protected] => -INF
035- )
========DONE========
FAIL Number::ceil [tests/Number/methods/ceil.phpt] 
TEST 59/125 [tests/Number/methods/compareTo.phpt]
========DIFF========
001+ Termsig=0
001- int(1)
002- int(-1)
003- 
004- int(1)
005- int(-1)
006- 
007- int(0)
008- int(0)
009- 
010- int(0)
011- int(0)
012- 
013- int(1)
014- int(-1)
015- 
016- int(1)
017- int(-1)
018- 
019- int(0)
020- int(0)
021- 
022- int(1)
023- int(-1)
024- 
025- int(1)
026- int(1)
027- int(1)
028- Number::compareTo
029- int(1)
030- Number::compareTo
031- int(1)
032- Number::compareTo
033- int(1)
034- Number::toDecimal
035- int(1)
036- Number::toRational
037- int(1)
038- 
039- Number::compareTo
040- int(1)
041- Number::compareTo
042- int(1)
043- Number::compareTo
044- int(1)
045- Number::compareTo
046- int(1)
047- Number::compareTo
048- int(1)
049- Number::compareTo
050- int(1)
051- Number::toDecimal
052- int(1)
053- Number::toRational
054- int(1)
========DONE========
FAIL Number::compareTo [tests/Number/methods/compareTo.phpt] 
TEST 60/125 [tests/Number/methods/div.phpt]
========DIFF========
     Number::div
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 1.6
005- )
006- Number::div
007- Number Object
008- (
009-     [value:protected] => 0.625
010- )
011- Number::div
012- Number Object
013- (
014-     [value:protected] => 1.6
015- )
016- Number::div
017- Number Object
018- (
019-     [value:protected] => 1.6
020- )
021- Number::div
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 1.6
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::div
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 1.6
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::div
042- Number Object
043- (
044-     [value:protected] => Decimal\Rational Object
045-         (
046-             [num] => 8
047-             [den] => 5
048-         )
049- 
050- )
051- Number::div
052- Number Object
053- (
054-     [value:protected] => Decimal\Rational Object
055-         (
056-             [num] => 8
057-             [den] => 5
058-         )
059- 
060- )
061- Number::toDecimal
062- Decimal\Decimal Object
063- (
064-     [value] => 1.6
065-     [precision] => 34
066- )
067- Number::toDecimal
068- Decimal\Decimal Object
069- (
070-     [value] => 1.6
071-     [precision] => 34
072- )
073- Number::toRational
074- Decimal\Rational Object
075- (
076-     [num] => 8
077-     [den] => 5
078- )
079- Number::toRational
080- Decimal\Rational Object
081- (
082-     [num] => 8
083-     [den] => 5
084- )
========DONE========
FAIL Number::div [tests/Number/methods/div.phpt] 
TEST 61/125 [tests/Number/methods/equals.phpt]
========DIFF========
001+ 
001- Number::compareTo
002- Number::compareTo
003- Number::compareTo
004- Number::compareTo
005- Number::compareTo
006- Number::compareTo
========DONE========
FAIL Number::equals [tests/Number/methods/equals.phpt] 
TEST 62/125 [tests/Number/methods/floor.phpt]
========DIFF========
001+ Fatal error: Uncaught Error: Cannot instantiate trait '!� in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/helpers/Number.php:89
002+ Stack trace:
003+ #0 [internal function]: Number->round(0, 104)
004+ #1 /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/methods/floor.php(4): Decimal\Number->floor()
005+ #2 {main}
006+   thrown in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/helpers/Number.php on line 89
001- Number::toDecimal
002- Number Object
003- (
004-     [value:protected] => 0
005- )
006- Number::toDecimal
007- Number Object
008- (
009-     [value:protected] => 0
010- )
011- Number::toDecimal
012- Number Object
013- (
014-     [value:protected] => 0
015- )
016- Number::toDecimal
017- Number Object
018- (
019-     [value:protected] => -1
020- )
021- Number::toDecimal
022- Number Object
023- (
024-     [value:protected] => NAN
025- )
026- Number::toDecimal
027- Number Object
028- (
029-     [value:protected] => INF
030- )
031- Number::toDecimal
032- Number Object
033- (
034-     [value:protected] => -INF
035- )
========DONE========
FAIL Number::floor [tests/Number/methods/floor.phpt] 
TEST 63/125 [tests/Number/methods/isEven.phpt]
========DIFF========
001- Number::toDecimal
002- Number::compareTo
     
004- Number::toDecimal
005- Number::compareTo
006- 
007- Number::toDecimal
008- Number::compareTo
009- Number::mod
010- 
011- Number::toDecimal
012- Number::compareTo
013- Number::mod
014- 
015- Number::toDecimal
016- Number::compareTo
017- Number::mod
018- 
019- Number::toDecimal
020- Number::compareTo
021- Number::mod
022- 
023- Number::toDecimal
024- Number::compareTo
025- Number::mod
026- 
027- Number::toDecimal
028- Number::compareTo
029- Number::mod
030- 
031- Number::toDecimal
032- Number::compareTo
033- Number::mod
034- 
035- Number::toDecimal
036- Number::compareTo
037- Number::mod
038- 
039- Number::toDecimal
040- Number::compareTo
041- Number::mod
042- 
043- Number::toDecimal
044- Number::compareTo
045- Number::mod
046- 
047- Number::toDecimal
048- Number::compareTo
049- Number::mod
050- 
051- Number::toDecimal
052- Number::compareTo
053- Number::mod
054- 
055- Number::toDecimal
056- Number::compareTo
057- 
058- Number::toDecimal
059- Number::compareTo
060- 
061- Number::toDecimal
062- Number::compareTo
063- 
064- Number::toDecimal
065- Number::compareTo
========DONE========
FAIL Number::isEven [tests/Number/methods/isEven.phpt] 
TEST 64/125 [tests/Number/methods/isInf.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Number::isInf [tests/Number/methods/isInf.phpt] 
TEST 65/125 [tests/Number/methods/isInteger.phpt]
========DIFF========
001+ Termsig=0
001- Number::toDecimal
002- Number::compareTo
003- 
004- Number::toDecimal
005- Number::compareTo
006- 
007- Number::toDecimal
008- Number::compareTo
009- 
010- Number::toDecimal
011- Number::compareTo
012- 
013- Number::toDecimal
014- Number::compareTo
015- 
016- Number::toDecimal
017- Number::compareTo
018- 
019- Number::toDecimal
020- Number::compareTo
021- 
022- Number::toDecimal
023- Number::compareTo
024- 
025- Number::toDecimal
026- Number::compareTo
027- 
028- Number::toDecimal
029- Number::compareTo
030- 
031- Number::toDecimal
032- Number::compareTo
033- 
034- Number::toDecimal
035- Number::compareTo
036- 
037- Number::toDecimal
038- Number::compareTo
039- 
040- Number::toDecimal
041- Number::compareTo
042- 
043- Number::toDecimal
044- Number::compareTo
045- 
046- Number::toDecimal
047- Number::compareTo
048- 
049- Number::toDecimal
050- Number::compareTo
051- 
052- Number::toDecimal
053- Number::compareTo
========DONE========
FAIL Number::isInteger [tests/Number/methods/isInteger.phpt] 
PASS Number::isNaN [tests/Number/methods/isNan.phpt] 
TEST 67/125 [tests/Number/methods/isNegative.phpt]
========DIFF========
001+ 
001- Number::toDecimal
002- bool(true)
========DONE========
FAIL Number::isNegative [tests/Number/methods/isNegative.phpt] 
TEST 68/125 [tests/Number/methods/isOdd.phpt]
========DIFF========
001- Number::toDecimal
002- Number::compareTo
     
004- Number::toDecimal
005- Number::compareTo
006- 
007- Number::toDecimal
008- Number::compareTo
009- Number::mod
010- 
011- Number::toDecimal
012- Number::compareTo
013- Number::mod
014- 
015- Number::toDecimal
016- Number::compareTo
017- Number::mod
018- 
019- Number::toDecimal
020- Number::compareTo
021- Number::mod
022- 
023- Number::toDecimal
024- Number::compareTo
025- Number::mod
026- 
027- Number::toDecimal
028- Number::compareTo
029- Number::mod
030- 
031- Number::toDecimal
032- Number::compareTo
033- Number::mod
034- 
035- Number::toDecimal
036- Number::compareTo
037- Number::mod
038- 
039- Number::toDecimal
040- Number::compareTo
041- Number::mod
042- 
043- Number::toDecimal
044- Number::compareTo
045- Number::mod
046- 
047- Number::toDecimal
048- Number::compareTo
049- Number::mod
050- 
051- Number::toDecimal
052- Number::compareTo
053- Number::mod
054- 
055- Number::toDecimal
056- Number::compareTo
057- 
058- Number::toDecimal
059- Number::compareTo
060- 
061- Number::toDecimal
062- Number::compareTo
063- 
064- Number::toDecimal
065- Number::compareTo
========DONE========
FAIL Number::isOdd [tests/Number/methods/isOdd.phpt] 
TEST 69/125 [tests/Number/methods/isPositive.phpt]
========DIFF========
001+ Termsig=0
001- Number::toDecimal
002- bool(false)
========DONE========
FAIL Number::isPositive [tests/Number/methods/isPositive.phpt] 
TEST 70/125 [tests/Number/methods/isZero.phpt]
========DIFF========
001+ 
001- Number::toDecimal
002- bool(true)
========DONE========
FAIL Number::isZero [tests/Number/methods/isZero.phpt] 
TEST 71/125 [tests/Number/methods/mod.phpt]
========DIFF========
     Number::mod
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 3
005- )
006- Number::mod
007- Number Object
008- (
009-     [value:protected] => 6
010- )
011- Number::mod
012- Number Object
013- (
014-     [value:protected] => 3
015- )
016- Number::mod
017- Number Object
018- (
019-     [value:protected] => 3
020- )
021- Number::mod
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 3
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::mod
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 3
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::mod
042- Number Object
043- (
044-     [value:protected] => Decimal\Rational Object
045-         (
046-             [num] => 3
047-             [den] => 1
048-         )
049- 
050- )
051- Number::mod
052- Number Object
053- (
054-     [value:protected] => Decimal\Rational Object
055-         (
056-             [num] => 3
057-             [den] => 1
058-         )
059- 
060- )
061- Number::toDecimal
062- Decimal\Decimal Object
063- (
064-     [value] => 3
065-     [precision] => 34
066- )
067- Number::toDecimal
068- Decimal\Decimal Object
069- (
070-     [value] => 3
071-     [precision] => 34
072- )
073- Number::toRational
074- Decimal\Rational Object
075- (
076-     [num] => 3
077-     [den] => 1
078- )
079- Number::toRational
080- Decimal\Rational Object
081- (
082-     [num] => 3
083-     [den] => 1
084- )
========DONE========
FAIL Number::mod [tests/Number/methods/mod.phpt] 
TEST 72/125 [tests/Number/methods/mul.phpt]
========DIFF========
     Number::mul
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 10
005- )
006- Number::mul
007- Number Object
008- (
009-     [value:protected] => 10
010- )
011- Number::mul
012- Number Object
013- (
014-     [value:protected] => 10
015- )
016- Number::mul
017- Number Object
018- (
019-     [value:protected] => 10
020- )
021- Number::mul
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 10.0
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::mul
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 10.0
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::mul
042- Number Object
043- (
044-     [value:protected] => Decimal\Rational Object
045-         (
046-             [num] => 10
047-             [den] => 1
048-         )
049- 
050- )
051- Number::mul
052- Number Object
053- (
054-     [value:protected] => Decimal\Rational Object
055-         (
056-             [num] => 10
057-             [den] => 1
058-         )
059- 
060- )
061- Number::toDecimal
062- Decimal\Decimal Object
063- (
064-     [value] => 10.0
065-     [precision] => 34
066- )
067- Number::toDecimal
068- Decimal\Decimal Object
069- (
070-     [value] => 10.0
071-     [precision] => 34
072- )
073- Number::toRational
074- Decimal\Rational Object
075- (
076-     [num] => 10
077-     [den] => 1
078- )
079- Number::toRational
080- Decimal\Rational Object
081- (
082-     [num] => 10
083-     [den] => 1
084- )
========DONE========
FAIL Number::mul [tests/Number/methods/mul.phpt] 
TEST 73/125 [tests/Number/methods/negate.phpt]
========DIFF========
     Number::mul
     
003+ Termsig=0
003- Number::mul
004- 
005- Number::mul
006- 
007- Number::mul
008- 
009- Number::mul
010- 
011- Number::mul
012- 
013- Number::mul
014- 
015- Number::mul
016- 
017- Number::mul
018- 
019- Number::mul
020- 
021- Number::mul
022- 
023- Number::mul
024- 
025- Number::mul
========DONE========
FAIL Number::negate [tests/Number/methods/negate.phpt] 
TEST 74/125 [tests/Number/methods/pow.phpt]
========DIFF========
     Number::pow
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 32
005- )
006- Number::pow
007- Number Object
008- (
009-     [value:protected] => 39.0625
010- )
011- Number::pow
012- Number Object
013- (
014-     [value:protected] => 32
015- )
016- Number::pow
017- Number Object
018- (
019-     [value:protected] => 32
020- )
021- Number::pow
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 32.00000000000000000000000000000000
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::pow
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 32.00000000000000000000000000000000
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::pow
042- 
043- Warning: Decimal arithmetic operand truncated to integer in %sNumber.php on line 63
044- Number Object
045- (
046-     [value:protected] => Decimal\Rational Object
047-         (
048-             [num] => 16
049-             [den] => 1
050-         )
051- 
052- )
053- Number::pow
054- 
055- Warning: Decimal arithmetic operand truncated to integer in %sNumber.php on line 63
056- Number Object
057- (
058-     [value:protected] => Decimal\Rational Object
059-         (
060-             [num] => 16
061-             [den] => 1
062-         )
063- 
064- )
065- Number::toDecimal
066- Decimal\Decimal Object
067- (
068-     [value] => 32.00000000000000000000000000000000
069-     [precision] => 34
070- )
071- Number::toDecimal
072- Decimal\Decimal Object
073- (
074-     [value] => 32.00000000000000000000000000000000
075-     [precision] => 34
076- )
077- Number::toRational
078- 
079- Warning: Decimal arithmetic operand truncated to integer in %spow.php on line 38
080- Decimal\Rational Object
081- (
082-     [num] => 16
083-     [den] => 1
084- )
085- Number::toRational
086- 
087- Warning: Decimal arithmetic operand truncated to integer in %spow.php on line 41
088- Decimal\Rational Object
089- (
090-     [num] => 16
091-     [den] => 1
092- )
========DONE========
FAIL Number::pow [tests/Number/methods/pow.phpt] 
TEST 75/125 [tests/Number/methods/shiftl.phpt]
========DIFF========
     Number::shiftl
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 400
005- )
006- Number::shiftl
007- Number Object
008- (
009-     [value:protected] => 0.04
010- )
011- Number::shiftl
012- Number Object
013- (
014-     [value:protected] => 40
015- )
016- Number::shiftl
017- Number Object
018- (
019-     [value:protected] => 400
020- )
021- Number::shiftl
022- Number Object
023- (
024-     [value:protected] => 0.04
025- )
026- Number::shiftl
027- Number Object
028- (
029-     [value:protected] => 40
030- )
========DONE========
FAIL Number::shiftl [tests/Number/methods/shiftl.phpt] 
TEST 76/125 [tests/Number/methods/shiftr.phpt]
========DIFF========
     Number::shiftr
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 0.04
005- )
006- Number::shiftr
007- Number Object
008- (
009-     [value:protected] => 400
010- )
011- Number::shiftr
012- Number Object
013- (
014-     [value:protected] => 0.4
015- )
016- Number::shiftr
017- Number Object
018- (
019-     [value:protected] => 0.04
020- )
021- Number::shiftr
022- Number Object
023- (
024-     [value:protected] => 400
025- )
026- Number::shiftr
027- Number Object
028- (
029-     [value:protected] => 0.4
030- )
========DONE========
FAIL Number::shiftr [tests/Number/methods/shiftr.phpt] 
TEST 77/125 [tests/Number/methods/sub.phpt]
========DIFF========
     Number::sub
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 1.5
005- )
006- Number::sub
007- Number Object
008- (
009-     [value:protected] => -1.5
010- )
011- Number::sub
012- Number Object
013- (
014-     [value:protected] => 1.5
015- )
016- Number::sub
017- Number Object
018- (
019-     [value:protected] => 1.5
020- )
021- Number::sub
022- Number Object
023- (
024-     [value:protected] => Decimal\Decimal Object
025-         (
026-             [value] => 1.5
027-             [precision] => 34
028-         )
029- 
030- )
031- Number::sub
032- Number Object
033- (
034-     [value:protected] => Decimal\Decimal Object
035-         (
036-             [value] => 1.5
037-             [precision] => 34
038-         )
039- 
040- )
041- Number::sub
042- Number Object
043- (
044-     [value:protected] => Decimal\Rational Object
045-         (
046-             [num] => 3
047-             [den] => 2
048-         )
049- 
050- )
051- Number::sub
052- Number Object
053- (
054-     [value:protected] => Decimal\Rational Object
055-         (
056-             [num] => 3
057-             [den] => 2
058-         )
059- 
060- )
061- Number::toDecimal
062- Decimal\Decimal Object
063- (
064-     [value] => 1.5
065-     [precision] => 34
066- )
067- Number::toDecimal
068- Decimal\Decimal Object
069- (
070-     [value] => 1.5
071-     [precision] => 34
072- )
073- Number::toRational
074- Decimal\Rational Object
075- (
076-     [num] => 3
077-     [den] => 2
078- )
079- Number::toRational
080- Decimal\Rational Object
081- (
082-     [num] => 3
083-     [den] => 2
084- )
========DONE========
FAIL Number::sub [tests/Number/methods/sub.phpt] 
TEST 78/125 [tests/Number/methods/toDecimal.phpt]
========DIFF========
     Number::toDecimal
002- 
003- Number::toDecimal
004- 
005- Number::toDecimal
006- 
007- Number::toDecimal
008- 
009- Number::toDecimal
010- 
011- Number::toDecimal
012- 
013- Number::toDecimal
014- 
015- Number::toDecimal
016- 
017- Number::toDecimal
018- 
019- Number::toDecimal
020- 
021- Number::toDecimal
022- 
023- Number::toDecimal
024- 
025- Number::toDecimal
========DONE========
FAIL Number::toDecimal [tests/Number/methods/toDecimal.phpt] 
TEST 79/125 [tests/Number/methods/toRational.phpt]
========DIFF========
     Number::toRational
002- 
003- Number::toRational
004- 
005- Number::toRational
006- 
007- Number::toRational
008- 
009- Number::toRational
010- 
011- Number::toRational
012- 
013- Number::toRational
014- 
015- Number::toRational
016- 
017- Number::toRational
018- 
019- Number::toRational
020- 
021- Number::toRational
022- 
023- Number::toRational
024- 
025- Number::toRational
========DONE========
FAIL Number::toRational [tests/Number/methods/toRational.phpt] 
TEST 80/125 [tests/Number/methods/toString.phpt]
========DIFF========
     string(1) "4"
002- string(1) "4"
003- string(1) "4"
004- Number::add
005- object(Number)#%d (1) {
006-   ["value":protected]=>
007-   int(5)
008- }
========DONE========
FAIL Number::toString [tests/Number/methods/toString.phpt] 
TEST 81/125 [tests/Number/methods/trunc.phpt]
========DIFF========
001+ Fatal error: Uncaught Error: Cannot instantiate abstract class 7,4 in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/helpers/Number.php:89
002+ Stack trace:
003+ #0 [internal function]: Number->round(0, 105)
004+ #1 /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/methods/trunc.php(4): Decimal\Number->trunc()
005+ #2 {main}
006+   thrown in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/helpers/Number.php on line 89
001- Number::toDecimal
002- Number Object
003- (
004-     [value:protected] => 0
005- )
006- Number::toDecimal
007- Number Object
008- (
009-     [value:protected] => 0
010- )
011- Number::toDecimal
012- Number Object
013- (
014-     [value:protected] => 0
015- )
016- Number::toDecimal
017- Number Object
018- (
019-     [value:protected] => -0
020- )
021- Number::toDecimal
022- Number Object
023- (
024-     [value:protected] => NAN
025- )
026- Number::toDecimal
027- Number Object
028- (
029-     [value:protected] => INF
030- )
031- Number::toDecimal
032- Number Object
033- (
034-     [value:protected] => -INF
035- )
========DONE========
FAIL Number::trunc [tests/Number/methods/trunc.phpt] 
PASS Number::valueOf [tests/Number/methods/valueOf.phpt] 
TEST 83/125 [tests/Number/operators.phpt]
========DIFF========
     Number::mul
002+ 
003+ Termsig=0
002- Number Object
003- (
004-     [value:protected] => 200000000
005- )
006- Number Object
007- (
008-     [value:protected] => 1E+8
009- )
010- Operator not supported by decimal numbers
========DONE========
FAIL Number operators [tests/Number/operators.phpt] 
TEST 84/125 [tests/Number/properties.phpt]
========DIFF========
     int(5)
     
003+ Warning: Undefined property: Number::$test in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Number/properties.php on line 10
003- Notice: Undefined property: Number::$test in %s on line %s
     NULL
     Cannot use object of type Number as array
     Done
========DONE========
FAIL Number properties [tests/Number/properties.phpt] 
TEST 85/125 [tests/Rational/cast.phpt]
========DIFF========
001+ Termsig=0
001- A Integer overflow
002- B Floating point underflow
003- C Floating point underflow
004- D Converting NaN or Infinity to integer is undefined
005- E Converting NaN or Infinity to integer is undefined
006- F Converting NaN or Infinity to integer is undefined
========DONE========
FAIL Rational cast to string, bool, int, float [tests/Rational/cast.phpt] 
TEST 86/125 [tests/Rational/clone.phpt]
========DIFF========
001+ Termsig=0
001- object(Decimal\Rational)#%d (2) {
002-   ["num"]=>
003-   string(3) "617"
004-   ["den"]=>
005-   string(3) "500"
006- }
007- object(Decimal\Rational)#%d (2) {
008-   ["num"]=>
009-   string(3) "617"
010-   ["den"]=>
011-   string(3) "500"
012- }
========DONE========
FAIL Rational clone [tests/Rational/clone.phpt] 
PASS Rational constants [tests/Rational/constants.phpt] 
PASS Rational empty [tests/Rational/empty.phpt] 
TEST 89/125 [tests/Rational/json.phpt]
========DIFF========
001+ string(11) ""NAN\/-INF""
002+ string(11) ""NAN\/-INF""
001- string(12) ""2469\/2000""
002- string(3) ""5""
========DONE========
FAIL Rational json_encode [tests/Rational/json.phpt] 
TEST 90/125 [tests/Rational/methods/__construct.phpt]
========DIFF========
001+ Fatal error: Uncaught Error: Call to private Decimal\Rational::__construct() from global scope in /mnt/testing/php8-pecl-decimal/src/ext-decimal-ee7e4719139e32ff731d6753147a5c904362ee17/tests/Rational/methods/__construct.php:2
001- Fatal error: Uncaught Error: Call to private Decimal\Rational::__construct() from invalid context in %s:%d
     Stack trace:
     #0 {main}
       thrown in %s on line %d
========DONE========
FAIL Rational::__construct [tests/Rational/methods/__construct.phpt] 
TEST 91/125 [tests/Rational/methods/abs.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::abs [tests/Rational/methods/abs.phpt] 
TEST 92/125 [tests/Rational/methods/add.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::add [tests/Rational/methods/add.phpt] 
PASS Rational::between [tests/Rational/methods/between.phpt] 
PASS Rational::ceil [tests/Rational/methods/ceil.phpt] 
TEST 95/125 [tests/Rational/methods/compareTo.phpt]
========DIFF========
001+ Termsig=0
001- int(1)
========DONE========
FAIL Rational::compareTo [tests/Rational/methods/compareTo.phpt] 
TEST 96/125 [tests/Rational/methods/div.phpt]
========DIFF========
001+ Termsig=0
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Rational::div [tests/Rational/methods/div.phpt] 
PASS Rational::equals [tests/Rational/methods/equals.phpt] 
PASS Rational::floor [tests/Rational/methods/floor.phpt] 
PASS Rational::isEven [tests/Rational/methods/isEven.phpt] 
PASS Rational::isInf [tests/Rational/methods/isInf.phpt] 
PASS Rational::isInteger [tests/Rational/methods/isInteger.phpt] 
PASS Rational::isNaN [tests/Rational/methods/isNaN.phpt] 
PASS Rational::isOdd [tests/Rational/methods/isOdd.phpt] 
PASS Rational::isZero [tests/Rational/methods/isZero.phpt] 
TEST 105/125 [tests/Rational/methods/mod.phpt]
========DIFF========
001+ Termsig=0
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Rational::mod [tests/Rational/methods/mod.phpt] 
TEST 106/125 [tests/Rational/methods/mul.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::mul [tests/Rational/methods/mul.phpt] 
TEST 107/125 [tests/Rational/methods/negate.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::negate [tests/Rational/methods/negate.phpt] 
TEST 108/125 [tests/Rational/methods/pow.phpt]
========DIFF========
001- Warning: Decimal arithmetic operand truncated to integer in %s on line %d
     
003- Warning: Decimal arithmetic operand truncated to integer in %s on line %d
004- 
005- Warning: Decimal arithmetic operand truncated to integer in %s on line %d
006- 
007- Warning: Decimal arithmetic operand truncated to integer in %s on line %d
008- 
009- Warning: Decimal arithmetic operand truncated to integer in %s on line %d
========DONE========
FAIL Rational::pow [tests/Rational/methods/pow.phpt] 
TEST 109/125 [tests/Rational/methods/rem.phpt]
========DIFF========
001+ 
001- A Division by zero
002- B Division by zero
003- C Division by zero
004- D Division by zero
005- E Division by zero
========DONE========
FAIL Rational::rem [tests/Rational/methods/rem.phpt] 
TEST 110/125 [tests/Rational/methods/round.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::round [tests/Rational/methods/round.phpt] 
PASS Rational::shiftl [tests/Rational/methods/shiftl.phpt] 
TEST 112/125 [tests/Rational/methods/shiftr.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::shiftr [tests/Rational/methods/shiftr.phpt] 
TEST 113/125 [tests/Rational/methods/sub.phpt]
========DIFF========
001+ Termsig=0
001- 
========DONE========
FAIL Rational::sub [tests/Rational/methods/sub.phpt] 
TEST 114/125 [tests/Rational/methods/toDecimal.phpt]
========DIFF========
001+ Termsig=0
001- Decimal\Decimal Object
002- (
003-     [value] => 0
004-     [precision] => 2
005- )
006- Decimal\Decimal Object
007- (
008-     [value] => 1.2
009-     [precision] => 2
010- )
011- Decimal\Decimal Object
012- (
013-     [value] => 1
014-     [precision] => 2
015- )
016- Decimal\Decimal Object
017- (
018-     [value] => 0
019-     [precision] => 50
020- )
021- Decimal\Decimal Object
022- (
023-     [value] => 1.234
024-     [precision] => 50
025- )
026- Decimal\Decimal Object
027- (
028-     [value] => 1
029-     [precision] => 50
030- )
031- OutOfRangeException: Decimal precision out of range
032- OutOfRangeException: Decimal precision out of range
033- ArgumentCountError: Decimal\Rational::toDecimal() expects exactly 1 parameter, 0 given
========DONE========
FAIL Rational::toDecimal [tests/Rational/methods/toDecimal.phpt] 
PASS Rational::toFixed [tests/Rational/methods/toFixed.phpt] 
TEST 116/125 [tests/Rational/methods/toFloat.phpt]
========DIFF========
     UnderflowException: Floating point underflow
002- float(NAN)
========DONE========
FAIL Rational::toFloat [tests/Rational/methods/toFloat.phpt] 
TEST 117/125 [tests/Rational/methods/toInt.phpt]
========DIFF========
--
     OverflowException: Integer overflow
     TypeError: Decimal\Rational::valueOf() expected parameter 1 to be a decimal number, string, or integer
     TypeError: Decimal\Rational::valueOf() expected parameter 1 to be a decimal number, string, or integer
007+ 
008+ Termsig=0
========DONE========
FAIL Rational::toInt [tests/Rational/methods/toInt.phpt] 
TEST 118/125 [tests/Rational/methods/toRational.phpt]
========DIFF========
001+ Termsig=0
001- Decimal\Rational Object
002- (
003-     [num] => 0
004-     [den] => 1
005- )
006- Decimal\Rational Object
007- (
008-     [num] => 617
009-     [den] => 500
010- )
011- Decimal\Rational Object
012- (
013-     [num] => 1
014-     [den] => 1
015- )
016- Decimal\Rational Object
017- (
018-     [num] => 2
019-     [den] => 1
020- )
021- Decimal\Rational Object
022- (
023-     [num] => 1
024-     [den] => 1
025- )
========DONE========
FAIL Rational::toRational [tests/Rational/methods/toRational.phpt] 
PASS Rational::toString [tests/Rational/methods/toString.phpt] 
TEST 120/125 [tests/Rational/methods/valueOf.phpt]
========DIFF========
--
     B Failed to parse string as decimal: "1 "
     C Decimal\Rational::valueOf() expected parameter 1 to be a decimal number, string, or integer
     D Decimal\Rational::valueOf() expected parameter 1 to be a decimal number, string, or integer
005+ E Call to private method Decimal\Rational::__construct() from global scope
006+ F Decimal\Rational::valueOf() expects exactly 1 argument, 0 given
005- E Call to private method Decimal\Rational::__construct() from context ''
006- F Decimal\Rational::valueOf() expects exactly 1 parameter, 0 given
========DONE========
FAIL Rational::valueOf [tests/Rational/methods/valueOf.phpt] 
TEST 121/125 [tests/Rational/operators.phpt]
========DIFF========
001+ Termsig=0
001- Decimal\Rational Object
002- (
003-     [num] => 200000000
004-     [den] => 1
005- )
006- Decimal\Rational Object
007- (
008-     [num] => 100000000
009-     [den] => 1
010- )
011- Operator not supported by decimal numbers
========DONE========
FAIL Rational operators [tests/Rational/operators.phpt] 
PASS Rational object properties [tests/Rational/properties.phpt] 
TEST 123/125 [tests/Rational/refcount.phpt]
========DIFF========
001+ Termsig=0
001- object(Decimal\Rational)#%d (2) refcount(2){
002-   ["num"]=>
003-   string(1) "4" refcount(1)
004-   ["den"]=>
005-   string(1) "1" refcount(1)
006- }
007- object(Decimal\Rational)#%d (2) refcount(2){
008-   ["num"]=>
009-   string(1) "7" refcount(1)
010-   ["den"]=>
011-   string(1) "1" refcount(1)
012- }
013- object(Decimal\Rational)#%d (2) refcount(2){
014-   ["num"]=>
015-   string(1) "8" refcount(1)
016-   ["den"]=>
017-   string(1) "1" refcount(1)
018- }
019- object(Decimal\Rational)#%d (2) refcount(2){
020-   ["num"]=>
021-   string(2) "16" refcount(1)
022-   ["den"]=>
023-   string(1) "1" refcount(1)
024- }
025- object(Decimal\Rational)#%d (2) refcount(2){
026-   ["num"]=>
027-   string(2) "51" refcount(1)
028-   ["den"]=>
029-   string(1) "2" refcount(1)
030- }
031- object(Decimal\Rational)#%d (2) refcount(2){
032-   ["num"]=>
033-   string(2) "53" refcount(1)
034-   ["den"]=>
035-   string(1) "2" refcount(1)
036- }
037- object(Decimal\Rational)#%d (2) refcount(2){
038-   ["num"]=>
039-   string(3) "265" refcount(1)
040-   ["den"]=>
041-   string(1) "4" refcount(1)
042- }
043- DomainException: Failed to parse string as decimal: "a"
044- object(Decimal\Rational)#%d (2) refcount(2){
045-   ["num"]=>
046-   string(3) "NAN" refcount(1)
047-   ["den"]=>
048-   string(1) "1" refcount(1)
049- }
========DONE========
FAIL Rational reference counting [tests/Rational/refcount.phpt] 
TEST 124/125 [tests/Rational/serialize.phpt]
========DIFF========
     string(53) "C:16:"Decimal\Rational":24:{s:6:"1.2E+1";s:4:"5E+0";}"
002- object(Decimal\Rational)#%d (2) {
003-   ["num"]=>
004-   string(2) "12"
005-   ["den"]=>
006-   string(1) "5"
007- }
     
003+ Termsig=0
009- Fatal error: Uncaught RuntimeException: Failed to unserialize decimal number string in %s
010- Stack trace:
011- #0 %s: unserialize('C:16:"Decimal\\R...')
012- #1 {main}
013-   thrown in %s on line %d
========DONE========
FAIL Rational serialize/unserialize [tests/Rational/serialize.phpt] 
SKIP Disable OPcache pass 2 [tests/opcache.phpt] 
=====================================================================
TIME END 2020-12-08 23:31:43

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   13
---------------------------------------------------------------------

Number of tests :  125               124
Tests skipped   :    1 (  0.8%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   77 ( 61.6%) ( 62.1%)
Tests passed    :   47 ( 37.6%) ( 37.9%)
---------------------------------------------------------------------
Time taken      :   21 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Decimal cast to string, bool, int, float [tests/Decimal/cast.phpt]
Decimal clone [tests/Decimal/clone.phpt]
Decimal constants [tests/Decimal/constants.phpt]
Decimal json_encode [tests/Decimal/json.phpt]
Decimal::__construct [tests/Decimal/methods/__construct.phpt]
Decimal::abs [tests/Decimal/methods/abs.phpt]
Decimal::add [tests/Decimal/methods/add.phpt]
Decimal::div [tests/Decimal/methods/div.phpt]
Decimal::floor [tests/Decimal/methods/floor.phpt]
Decimal::mod [tests/Decimal/methods/mod.phpt]
Decimal::pow [tests/Decimal/methods/pow.phpt]
Decimal::precision [tests/Decimal/methods/precision.phpt]
Decimal::rem [tests/Decimal/methods/rem.phpt]
Decimal::round [tests/Decimal/methods/round.phpt]
Decimal::shiftl [tests/Decimal/methods/shiftl.phpt]
Decimal::shiftr [tests/Decimal/methods/shiftr.phpt]
Decimal::toDecimal [tests/Decimal/methods/toDecimal.phpt]
Decimal::toFloat [tests/Decimal/methods/toFloat.phpt]
Decimal::toRational [tests/Decimal/methods/toRational.phpt]
Decimal::valueOf [tests/Decimal/methods/valueOf.phpt]
Decimal operators [tests/Decimal/operators.phpt]
Decimal reference counting [tests/Decimal/refcount.phpt]
Decimal serialize/unserialize [tests/Decimal/serialize.phpt]
Number cast to string, bool, int, float [tests/Number/cast.phpt]
Number json_encode [tests/Number/json.phpt]
Number::abs [tests/Number/methods/abs.phpt]
Number::add [tests/Number/methods/add.phpt]
Number::between [tests/Number/methods/between.phpt]
Number::ceil [tests/Number/methods/ceil.phpt]
Number::compareTo [tests/Number/methods/compareTo.phpt]
Number::div [tests/Number/methods/div.phpt]
Number::equals [tests/Number/methods/equals.phpt]
Number::floor [tests/Number/methods/floor.phpt]
Number::isEven [tests/Number/methods/isEven.phpt]
Number::isInf [tests/Number/methods/isInf.phpt]
Number::isInteger [tests/Number/methods/isInteger.phpt]
Number::isNegative [tests/Number/methods/isNegative.phpt]
Number::isOdd [tests/Number/methods/isOdd.phpt]
Number::isPositive [tests/Number/methods/isPositive.phpt]
Number::isZero [tests/Number/methods/isZero.phpt]
Number::mod [tests/Number/methods/mod.phpt]
Number::mul [tests/Number/methods/mul.phpt]
Number::negate [tests/Number/methods/negate.phpt]
Number::pow [tests/Number/methods/pow.phpt]
Number::shiftl [tests/Number/methods/shiftl.phpt]
Number::shiftr [tests/Number/methods/shiftr.phpt]
Number::sub [tests/Number/methods/sub.phpt]
Number::toDecimal [tests/Number/methods/toDecimal.phpt]
Number::toRational [tests/Number/methods/toRational.phpt]
Number::toString [tests/Number/methods/toString.phpt]
Number::trunc [tests/Number/methods/trunc.phpt]
Number operators [tests/Number/operators.phpt]
Number properties [tests/Number/properties.phpt]
Rational cast to string, bool, int, float [tests/Rational/cast.phpt]
Rational clone [tests/Rational/clone.phpt]
Rational json_encode [tests/Rational/json.phpt]
Rational::__construct [tests/Rational/methods/__construct.phpt]
Rational::abs [tests/Rational/methods/abs.phpt]
Rational::add [tests/Rational/methods/add.phpt]
Rational::compareTo [tests/Rational/methods/compareTo.phpt]
Rational::div [tests/Rational/methods/div.phpt]
Rational::mod [tests/Rational/methods/mod.phpt]
Rational::mul [tests/Rational/methods/mul.phpt]
Rational::negate [tests/Rational/methods/negate.phpt]
Rational::pow [tests/Rational/methods/pow.phpt]
Rational::rem [tests/Rational/methods/rem.phpt]
Rational::round [tests/Rational/methods/round.phpt]
Rational::shiftr [tests/Rational/methods/shiftr.phpt]
Rational::sub [tests/Rational/methods/sub.phpt]
Rational::toDecimal [tests/Rational/methods/toDecimal.phpt]
Rational::toFloat [tests/Rational/methods/toFloat.phpt]
Rational::toInt [tests/Rational/methods/toInt.phpt]
Rational::toRational [tests/Rational/methods/toRational.phpt]
Rational::valueOf [tests/Rational/methods/valueOf.phpt]
Rational operators [tests/Rational/operators.phpt]
Rational reference counting [tests/Rational/refcount.phpt]
Rational serialize/unserialize [tests/Rational/serialize.phpt]
=====================================================================
make: *** [Makefile:132: test] Error 1

@andypost
Copy link
Author

andypost commented Dec 9, 2020

Arginfo could be generated https://externals.io/message/105970

Example nikic/php-ast@15a7ebd

@andypost
Copy link
Author

andypost commented Dec 9, 2020

Aarch64 and s390x bit different failures https://gitlab.alpinelinux.org/andypost/aports/-/pipelines/62997 (32-bits arches are broken before)

@andypost
Copy link
Author

andypost commented Dec 9, 2020

@zlodes zlodes mentioned this pull request Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant