363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
17 linhas
406 B
PHP
17 linhas
406 B
PHP
<?php
|
|
|
|
class Thing {
|
|
public static function testOne() { echo "one\n"; }
|
|
public static function testTwo() { echo "two\n"; }
|
|
public static function testThree() { echo "three\n"; }
|
|
public static function testFour() { echo "four\n"; }
|
|
}
|
|
|
|
|
|
$class = new ReflectionClass('Thing');
|
|
$methods = $class->getMethods();
|
|
foreach ($methods as $method) {
|
|
var_dump($method->getName());
|
|
$method->invoke(null);
|
|
}
|