I am trying to build the PHP extension of PHP version:
PHP 7.1.16-1+b1 (cli) (built: May 12 2018 08:31:35) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.16-1+b1, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
on Linux.
But some build errors occur:
/tmp/php-ext-wasm-0.5.0/src/wasm.cc:123:132: error: macro "ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX" requires 6 arguments, but only 5 given
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_wasmarraybuffer_get_byte_length, ZEND_RETURN_VALUE, ARITY(0), IS_LONG, NOT_NULLABLE)
/tmp/php-ext-wasm-0.5.0/src/wasm.cc:123:1: error: ‘ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX’ does not name a type
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_wasmarraybuffer_get_byte_length, ZEND_RETURN_VALUE, ARITY(0), IS_LONG, NOT_NULLABLE
Summary
I am trying to build the PHP extension of PHP version:
on Linux.
But some build errors occur: