summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/ssa_bug_009.phpt
blob: a6248ff5bdde9588be2193e5ae8c30d4f3204f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Incorrect type inference
--FILE--
<?php
class PHP_CodeCoverage
{
    private function addUncoveredFilesFromWhitelist()
    {
        foreach ($uncoveredFiles as $uncoveredFile) {
            for ($i = 1; $i <= $lines; $i++) {
                $data[$uncoveredFile][$i] = PHP_CodeCoverage_Driver::LINE_NOT_EXECUTED;
            }
        }
    }
}
?>
OK
--EXPECT--
OK