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