php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75570 "Narrowing occurred during type inference" error
Submitted: 2017-11-25 16:46 UTC Modified: 2017-11-28 05:14 UTC
From: nshutchinson at gmail dot com Assigned: laruence (profile)
Status: Closed Package: opcache
PHP Version: 7.1.12 OS: CentOS 7.4
Private report: No CVE-ID: None
 [2017-11-25 16:46 UTC] nshutchinson at gmail dot com
Description:
------------
Since upgrading to Php 7.1.12 from 7.1.10, I'm seeing sporadic errors in an instance of PHP-based web application called Phabricator <https://github.com/phacility/phabricator>.

> Error while loading file "/srv/phabricator/phabricator/src/infrastructure/diff/view/PHUIDiffGraphView.php": Narrowing occurred during type inference. Please file a bug report on bugs.php.net

The file in question is here:
<https://github.com/phacility/phabricator/blob/9bd6a3705559b16c75595a06d9d726274bd5be6d/src/infrastructure/diff/view/PHUIDiffGraphView.php>.

I have no knowledge of the PHP internals but grepping the PHP codebase appeared to indicate that the error message is generated by the opcache component.

I note that the changelog for PHP 7.1.9 listed a fix for this error.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-11-28 05:14 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC