PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World World Hell 0 Wo rld HelloWorld Hello World World Hell 0 Wo rld HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bI am a Error I am bb I am a Error I am bI am a Error I am bb I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} GREETING greeting ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code None of the mentioned Error my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code None of the mentioned Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Call By Value Default Argument Value Call By Reference Type Hinting Call By Value Default Argument Value Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! ANSWER DOWNLOAD EXAMIANS APP