Arquivos
hhvm/hphp/test/quick/interface5.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

12 linhas
199 B
PHP

<?php
interface I { function foo(); }
abstract class B implements I {}
abstract class C extends B {}
class D extends C {
public function foo() {
echo "Done\n";
}
}
$obj = new D;
$obj->foo();