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