xref: /PHP-7.2/Zend/tests/bug41633_4.phpt (revision 610c7fbe)
1--TEST--
2Bug #41633.4 (self:: doesn't work for constants)
3--FILE--
4<?php
5class Foo {
6	const A = self::B;
7	const B = "ok";
8}
9var_dump(defined("Foo::A"));
10?>
11--EXPECT--
12bool(true)
13