503f75d08b
These names don't make sense now that we run both suites the same way.
18 linhas
236 B
PHP
18 linhas
236 B
PHP
<?php
|
|
class A {
|
|
public function b() {
|
|
function c() {
|
|
return function() {
|
|
return $this->d();
|
|
};
|
|
};
|
|
return c();
|
|
}
|
|
private function d() {
|
|
return 91;
|
|
}
|
|
}
|
|
$a = new A;
|
|
$b = $a->b();
|
|
var_dump($b());
|