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);
Dana
2 months agoRonny
15 days agoPeggie
18 days agoJustine
1 months agoDong
2 months agoLeonard
Evelynn
23 hours agoNichelle
7 days agoEladia
12 days agoShalon
26 days agoCandra
1 months agoVicky
2 months agoLetha
2 months agoWava
2 months agoIsadora
1 months agoKirk
1 months agoMary
2 months agoLacresha
2 months agoLetha
3 months ago