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