xref: /PHP-8.0/Zend/tests/bug41633_1.phpt (revision f8d79582)
1--TEST--
2Bug #41633.1 (self:: doesn't work for constants)
3--FILE--
4<?php
5class Foo {
6    const A = self::B;
7    const B = "ok";
8}
9echo Foo::A."\n";
10?>
11--EXPECT--
12ok
13