php-src/Zend/tests/bug41633_1.phpt

13 lines
159 B
Plaintext
Raw Normal View History

--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