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