1--TEST--
2Bug #76074 (opcache corrupts variable in for-loop)
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8function test(int $nr) {
9 for ($i = $nr; $i <= $nr + 1; $i++)
10 var_dump($i);
11}
12
13test(1);
14
15?>
16--EXPECT--
17int(1)
18int(2)
19