xref: /PHP-8.1/ext/opcache/tests/jit/gh8461-003.inc (revision 6c254131)
1<?php
2
3$x = 0;
4
5class UniqueList
6{
7    public const A = 1;
8    public const B = 1;
9
10    private $foo;
11
12    public function __construct($b)
13    {
14        global $x;
15        $x++;
16
17        $this->foo = self::A + $b;
18    }
19}
20