PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblablablabla helloblabla Error hello helloblablablabla helloblabla Error hello ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() compress() zip() gzcompress() zip_compress() compress() zip() gzcompress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); Hello World None of the mentioned ERROR No Output Hello World None of the mentioned ERROR No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); No Output sayHello HelloWorld Error No Output sayHello HelloWorld Error 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"); Uppercase 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 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;} ERROR GREETING greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP