1.

What will be the output of the following PHP code?<?phpfunction convertSpace($str) {return str_replace("_", " ", $str); }$str = "Interview_Mania_is_good_for_interview_preparation!";echo filter_var($str, FILTER_CALLBACK, array("options"=>"convertSpace"));?>

A. Error
B. Interview_Mania_is_good_for_interview_preparation!
C. Nothing
D. InterviewManiaisgoodforinterviewpreparation!
E. Interview Mania is good for interview preparation!
Answer» E. Interview Mania is good for interview preparation!


Discussion

No Comment Found