What will be the output of the following PHP code ?<br/>function mine($num)<br/>{<br/>$num = 2 + $num;<br/>echo $num;<br/>}<br/>mine(3); 5 3 None of the mentioned $num TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo lcfirst("welcome to my India"); welcome to my India Welcome to my India welcome to my india Welcome to my india TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following PHP functions can be used to build a function that accepts any number of arguments? func_get_argc() get_argv() func_get_argv() get_argc() TRUE ANSWER : ? YOUR ANSWER : ?
Type Hinting was introduced in which version of PHP? PHP 5.3 PHP 4 PHP 5 PHP 6 TRUE ANSWER : ? YOUR ANSWER : ?
phpinfo() will display about?<br/>1. OS version information<br/>2. PHP installation<br/>3. Variables<br/>4. HTTP headers All listed here Option 1 Option 2 Option 4 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo hex2bin("48656c6c6f20576f726c6421"); Hello World! MCQ questons This is PHP! welcome to india TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo ord ("hi"); 103 104 209 106 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>function time($string)<br/>{<br/>echo strtr("Towe Pa55", "ow5", $string);<br/>}<br/>time("ims"); Towe Pa55 Time Pass Towe Pass Time Pa55 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$title = "O'malley wins the heavyweight championship!";<br/>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! TRUE ANSWER : ? YOUR ANSWER : ?
Returning values from functions may include ..... Both A & B Objects Arrays None of above TRUE ANSWER : ? YOUR ANSWER : ?