Bug #76463 [Opn->Csd]: var has array key type but not value type
| From: | laruence@php.net | Date: | Tue, 12 Jun 2018 12:55:36 +0000 |
| Subject: | Bug #76463 [Opn->Csd]: var has array key type but not value type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215651@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76463&edit=1
ID: 76463
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: var has array key type but not value type
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
PHP Version: 7.3.0alpha1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1cc9933130059993c09e43d95dc7a4dfc9621ab2
Log: Fixed bug #76463 (var has array key type but not value type)
Previous Comments:
------------------------------------------------------------------------
[2018-06-12 12:51:02] laruence@php.net
Description:
------------
var 11 (TMP) has array key type but not value type
var 12 (TMP) has array key type but not value type
var 14 (TMP) has array key type but not value type
var 15 (CV $old_data) has array key type but not value type
Test script:
---------------
$old_data = isset($old_data) ? (array)$old_data : [];
Expected result:
----------------
non warning
Actual result:
--------------
var 11 (TMP) has array key type but not value type
var 12 (TMP) has array key type but not value type
var 14 (TMP) has array key type but not value type
var 15 (CV $old_data) has array key type but not value type
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76463&edit=1