Arquivos
hhvm/hphp/test/slow/reflection/1336.php
T
Paul Tarjan c2ec1c97c9 sortof format slow tests
A poor man's formatter since I didn't like any of the other ones I found. The original C++ source sometimes put newlines and sometimes not.

Codemods:

    codemod '([;{}])([^\n])' '\1\n\2'
    codemod -m '\s*<\?php\s+' '<?php\n\n'
    codemod '\t' '  '

I hand-fixed all the failing tests
2013-05-30 17:32:57 -07:00

39 linhas
511 B
PHP

<?php
interface I1 {
function ifoo2();
function ifoo1();
}
interface I2 {
function ifoo4();
function ifoo3();
}
class A {
function foo() {
}
function foo2() {
}
}
abstract class B extends A implements I1, I2 {
function bar() {
}
}
abstract class C extends A implements I2, I1 {
function bar() {
}
}
class D extends C {
function ifoo2() {
}
function ifoo1() {
}
function ifoo4() {
}
function ifoo3() {
}
function bar() {
}
}
var_dump(get_class_methods('B'));
var_dump(get_class_methods('C'));