blob: 3507f6a08cdb7143c48f94c61a514b409bbb9582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Bug #41633.4 (self:: doesn't work for constants)
--FILE--
<?php
class Foo {
const A = self::B;
const B = "ok";
}
var_dump(defined("Foo::A"));
?>
--EXPECT--
bool(true)
|