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
3 months agoRonny
1 months agoPeggie
2 months agoJustine
2 months agoDong
3 months agoLaurena
27 days agoLeonard
29 days agoEvelynn
30 days agoNichelle
1 months agoEladia
1 months agoShalon
2 months agoCandra
2 months agoVicky
2 months agoLetha
3 months agoWava
3 months agoIsadora
2 months agoKirk
2 months agoMary
3 months agoLacresha
3 months agoLetha
4 months ago