dis-bench / src /php /php-src /Zend /tests /enum /__class__.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
188 Bytes
--TEST--
Enum __CLASS__
--FILE--
<?php
enum Foo {
case Bar;
public function printClass()
{
echo __CLASS__ . "\n";
}
}
Foo::Bar->printClass();
?>
--EXPECT--
Foo