PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); error helloblablablabla hello helloblabla error helloblablablabla hello helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); welcome to india This is PHP! MCQ questons Hello World! welcome to india This is PHP! MCQ questons Hello World! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time to live king size TIME TO LIVE KING SIZE Time To Live King Size Uppercase Time to live king size TIME TO LIVE KING SIZE Time To Live King Size Uppercase 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(); I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code Error None of the mentioned I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code Error None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed 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); Call By Value Call By Reference Type Hinting Default Argument Value Call By Value Call By Reference Type Hinting Default Argument Value ANSWER DOWNLOAD EXAMIANS APP