summaryrefslogtreecommitdiff
path: root/Zend/tests/bug41633_1.phpt
blob: 1c1d552dd75202815ab2ce18a354519c7fef3d76 (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