Weird PHP 7.2 bug
| From: | Derick Rethans | Date: | Sun, 29 Oct 2017 18:48:09 +0000 |
| Subject: | Weird PHP 7.2 bug | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-100983@lists.php.net to get a copy of this message | ||
Hi,
running:
https://raw.githubusercontent.com/xdebug/xdebug/master/tests/bug01263.inc
with:
$ php -n -dzend_extension=opcache.so -dopcache.enable_cli=1 tests/bug01263.inc
Produces the following output with PHP 7.2 build at Oct 29 2017 18:49:58:
In function PHP_CodeCoverage::addUncoveredFilesFromWhitelist (after sccp):
var 10 (CV $data) has array value type but not key type
var 15 (CV $data) has array value type but not key type
var 21 (CV $data) has array value type but not key type
In function PHP_CodeCoverage::addUncoveredFilesFromWhitelist (after calls):
var 10 (CV $data) has array value type but not key type
var 15 (CV $data) has array value type but not key type
var 21 (CV $data) has array value type but not key type
In function PHP_CodeCoverage::addUncoveredFilesFromWhitelist (after dce):
var 10 (CV $data) has array value type but not key type
var 15 (CV $data) has array value type but not key type
var 21 (CV $data) has array value type but not key type
In function PHP_CodeCoverage::addUncoveredFilesFromWhitelist (after dfa):
var 10 (CV $data) has array value type but not key type
var 15 (CV $data) has array value type but not key type
var 21 (CV $data) has array value type but not key type
cheers,
Derick
--
https://derickrethans.nl | https://xdebug.org | https://dram.io
Like Xdebug? Consider a donation: https://xdebug.org/donate.php
twitter: @derickr and @xdebug