PHP 7.3 zif_handler changes
| From: | Jan Ehrhardt | Date: | Tue, 26 Jun 2018 06:42:14 +0000 |
| Subject: | PHP 7.3 zif_handler changes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102448@lists.php.net to get a copy of this message | ||
"Christoph M. Becker" in php.internals (Thu, 21 Jun 2018 12:28:49
+0200):
>For more information on the new features and other changes, you can read
>the NEWS file
>(<Át.^j
>JD4p~D«0yhttps://github.com/php/php-src/blob/php-7.3.0alpha2/NEWS>), or the
>UPGRADING file
>(<https://github.com/php/php-src/blob/php-7.3.0alpha2/UPGRADING>)
>for a
>complete list of upgrading notes. These files can also be found in the
>release archive.
Apparently, there were changes in the zend internal functions handler
(aka zif_handler), but I cannot find any info on it. Neither in the
linked documents, nor in
https://github.com/php/php-src/blob/php-7.3.0alpha2/UPGRADING.INTERNALS
I ran into this in at least three extensions, while compiling on Windows
(vc15, x64, nts).
pcs:
|PCS_Loader.c(575): error C2440: '=': cannot convert from 'zif_handler' to
'void (__cdecl *)(zend_execute_data *,zval *)'
|PCS_Loader.c(581): error C2440: '=': cannot convert from 'zif_handler' to
'void (__cdecl *)(zend_execute_data *,zval *)'
|PCS_Loader.c(587): error C2440: '=': cannot convert from 'zif_handler' to
'void (__cdecl *)(zend_execute_data *,zval *)'
pecl_http:
|php_http_client_curl_user.c(190): error C2440: '=': cannot convert from 'void
(__cdecl *)(zend_execute_data *,zval *)' to 'zif_handler'
taint seems to have comparable errors. See
https://github.com/laruence/taint/commit/9debfe9682d22e172906cd2e7754a8380bf13453#commitcomment-29461798
Can this be fixed and/or added to UPGRADING.INTERNALS?
--
Jan