xref: /PHP-8.4/ext/opcache/tests/bug81046.phpt (revision c446d68f)
1--TEST--
2Bug #81046: Literal compaction merges non-equal related literals
3--FILE--
4<?php
5
6class Test {
7	static function methoD() {
8        echo "Method called\n";
9	}
10}
11
12const methoD = 1;
13var_dump(methoD);
14test::methoD();
15
16?>
17--EXPECT--
18int(1)
19Method called
20