xref: /PHP-7.2/ext/opcache/tests/ssa_bug_009.phpt (revision 75bc3446)
1--TEST--
2Incorrect type inference
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7class PHP_CodeCoverage
8{
9    private function addUncoveredFilesFromWhitelist()
10    {
11        foreach ($uncoveredFiles as $uncoveredFile) {
12            for ($i = 1; $i <= $lines; $i++) {
13                $data[$uncoveredFile][$i] = PHP_CodeCoverage_Driver::LINE_NOT_EXECUTED;
14            }
15        }
16    }
17}
18?>
19OK
20--EXPECT--
21OK
22