503f75d08b
These names don't make sense now that we run both suites the same way.
17 linhas
266 B
PHP
17 linhas
266 B
PHP
<?php
|
|
|
|
abstract class Foo {
|
|
abstract public static function who();
|
|
public static function test() { self::who(); }
|
|
}
|
|
class Bar extends Foo {
|
|
public static function who() { return 'Bar'; }
|
|
}
|
|
|
|
function main() {
|
|
$bar = new Bar();
|
|
echo $bar->test();
|
|
}
|
|
|
|
main();
|