PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); 10 Error No Output None of the Mentioned 10 Error No Output None of the Mentioned 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 Call By Reference Default Argument Value Type Hinting Call By Value Call By Reference Default Argument Value 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; 25 100 75 error 25 100 75 error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 5 PHP 6 PHP 4 PHP 5.3 PHP 5 PHP 6 PHP 4 PHP 5.3 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(); Error None of the mentioned my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code Error None of the mentioned my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code 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 GREETING, Hello you! How are you today? Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING GREETING, Hello you! How are you today? Hello you! How are you today? “GREETING”,”Hello you! How are you today?” ANSWER DOWNLOAD EXAMIANS APP