Bug #75570 [NEW]: "Narrowing occurred during type inference" error

From: Date: Sat, 25 Nov 2017 16:46:08 +0000
Subject: Bug #75570 [NEW]: "Narrowing occurred during type inference" error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212718@lists.php.net to get a copy of this message
From: nshutchinson at gmail dot com Operating system: CentOS 7.4 PHP version: 7.1.12 Package: opcache Bug Type: Bug Bug description:"Narrowing occurred during type inference" error 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. -- Edit bug report at https://bugs.php.net/bug.php?id=75570&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75570&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75570&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75570&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75570&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75570&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75570&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75570&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75570&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75570&r=support Expected behavior: https://bugs.php.net/fix.php?id=75570&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75570&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75570&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75570&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75570&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75570&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75570&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75570&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75570&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75570&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75570&r=mysqlcfg

« previous php.bugs (#212718) next »