1--TEST--
2JIT Trampoline 001: trampoline cleanup
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit=tracing
8--EXTENSIONS--
9opcache
10--FILE--
11<?php
12class A {
13}
14class B extends A {
15	function foo() {
16		echo "B";
17	}
18}
19class C extends A {
20	function __call($name, $argd) {
21		echo "C";
22	}
23}
24$b = new B;
25$c = new C;
26$a = [$b, $b, $b, $c, $c, $c];
27foreach ($a as $x) {
28	$x->foo();
29}
30echo "\n";
31?>
32--EXPECT--
33BBBCCC
34