What will be the output of the following PHP code?<br/>echo lcfirst("welcome to India"); Welcome to india Welcome to India welcome to india welcome to India TRUE ANSWER : ? YOUR ANSWER : ?
The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "f" returns "d" returns "cd" TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo ord ("hi"); 104 106 209 103 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>function do($myString) {<br/>echo strpos($myString, "donkey",0);<br/>}<br/>do("The donkey looks like a horse."); 5 4 None of the mentioned 2 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>function a() {<br/>function b() {<br/>echo 'I am bb';<br/>}<br/>echo 'I am a';<br/>}<br/>b();<br/>a(); I am a Error I am bb Error I am bI am a TRUE ANSWER : ? YOUR ANSWER : ?
A function in PHP which starts with ______ (double underscore) is know as. Inbuilt Function Default Function Magic Function User Defined Function TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>function start($string)<br/>{<br/>if ($string < 45)<br/>return 20;<br/>else<br/>return 40;<br/>}<br/>$t = start(90);<br/>if ($t < 20)<br/>{<br/>echo "Have a good day!";<br/>}<br/>else<br/>{<br/>echo "Have a good night!";} Have a good night! Have a good day! None of the mentioned ERROR TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>function one() {<br/>echo " this works";<br/>function two() {<br/>echo "this too works";<br/>}<br/>}<br/>one();<br/>two(); this works this too works error this works this worksthis too works TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following PHP functions can be used to find files? file() fold() glob() get_file() TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>function a() {<br/>function b() {<br/>echo 'I am b';<br/>}<br/>echo 'I am a';<br/>}<br/>a();<br/><br/>a(); Error I am a Error I am bI am a I am b TRUE ANSWER : ? YOUR ANSWER : ?