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