xref: /PHP-5.5/Zend/tests/bug41633_1.phpt (revision 610c7fbe)
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