503f75d08b
These names don't make sense now that we run both suites the same way.
15 linhas
201 B
PHP
15 linhas
201 B
PHP
<?php
|
|
|
|
function fiz($a) { var_dump($a); }
|
|
class a {
|
|
static function __callStatic($n, $a) { return $a[0]; }
|
|
}
|
|
|
|
class b extends a {
|
|
static function bar() {
|
|
fiz(parent::foo(42));
|
|
}
|
|
}
|
|
|
|
b::bar();
|