What will be the output of the following php code?<br/>$num = 1;<br/>$num1 = 2;<br/>print $num . "+". $num1; 1+2 1.+.2 Error 3 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$a = 5;<br/>$b = 5;<br/>echo ($a === $b); Error False 5 === 5 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$user = array("Ashley", "Bale", "Shrek", "Blank");<br/>for ($x=0; $x < count($user); $x++){<br/>if ($user[$x] == "Shrek")<br/>continue;<br/>printf ($user[$x]);<br/>} AshleyBaleBlank AshleyBale ShrekBlank Shrek TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following must be installed on your computer so as to run PHP script?<br/>1. Adobe Dreamweaver<br/>2. PHP<br/>3. Apache<br/>4. IIS Only 2 2 and 3 All of the mentioned. 2, 3 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
PHP considers the following values as False All of Above both A and B the one-character string 0 the integer 0 constant NULL TRUE ANSWER : ? YOUR ANSWER : ?
It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE ANSWER : ? YOUR ANSWER : ?
When a simple data type is casted to an array, an array is created with the original value in the first element. True False TRUE ANSWER : ? YOUR ANSWER : ?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is Boolean TRUE ANSWER : ? YOUR ANSWER : ?
Which of the below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add $add = $add + 1 $add = $add +$add TRUE ANSWER : ? YOUR ANSWER : ?