Which line of code can be used to replace the INSERT comment in order to output "hello"?
class C {
public $ello = 'ello';
public $c;
public $m;
function __construct($y) {
$this->c = static function($f) {
// INSERT LINE OF CODE HERE
};
$this->m = function() {
return "h";
};
}
}
$x = new C("h");
$f = $x->c;
echo $f($x->m);
Sylvie
5 months agoMarla
5 months agoBeth
5 months agoBernadine
5 months agoTequila
5 months agoTemeka
6 months agoStevie
6 months agoTegan
6 months agoRima
6 months agoBobbye
6 months agoJesus
6 months agoViola
6 months agoEdison
6 months agoHershel
6 months agoDana
11 months agoRonny
10 months agoPeggie
10 months agoJustine
11 months agoDong
11 months agoLaurena
9 months agoLeonard
9 months agoEvelynn
9 months agoNichelle
9 months agoEladia
10 months agoShalon
10 months agoCandra
10 months agoVicky
11 months agoLetha
11 months agoWava
11 months agoIsadora
11 months agoKirk
11 months agoMary
11 months agoLacresha
12 months agoLetha
12 months ago