What does PHP stand for?<br/>1. Personal Home Page<br/>2. Hypertext Preprocessor<br/>3. Pretext Hypertext Processor<br/>4. Preprocessor Home Page Only 2 Both 1 and 2 Both 2 and 4 Both 1 and 3 TRUE ANSWER : ? YOUR ANSWER : ?
PHP ..... demand that you declare a data type when you create a variable. does does not TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code?<br/>$foo = 'Bob';<br/>$bar = &$foo;<br/>$bar = "My name is $bar";<br/>echo $bar;<br/>echo $foo; My name is BobBob My name is Bob Bob My name is BobMy name is Bob Error TRUE ANSWER : ? YOUR ANSWER : ?
How does the identity operator === compare two values? It returns True only if they are both of the same type and value It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values TRUE ANSWER : ? YOUR ANSWER : ?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? Never When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the parameter is Boolean When the function contains only one parameter TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is/are a PHP code editor?<br/>1. Notepad<br/>2. Notepad++<br/>3. Adobe Dreamweaver<br/>4. PDT Only 4 Only 3 All of the mentioned 1, 2 and 3 TRUE ANSWER : ? YOUR ANSWER : ?
You can test the type of any variable with the ..... function. whattype() gettype() settype() showtype() TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>$color = "maroon";<br/>$var = $color[2];<br/>echo "$var"; Error $var r a TRUE ANSWER : ? YOUR ANSWER : ?
All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE ANSWER : ? YOUR ANSWER : ?