PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblablablabla Error helloblabla hello helloblablablabla Error helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); welcome to India welcome to india Welcome to India Welcome to india welcome to India welcome to india Welcome to India Welcome to india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? GREETING “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 100 75 25 error 100 75 25 error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_create() date() getdate() date_sunrise() date_create() date() getdate() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value 0 -1 NULL Garbage value 0 -1 NULL ANSWER DOWNLOAD EXAMIANS APP