Variables always start with a ........ in PHP Euro-sign Yen-sign Dollar-sign Pond-sign TRUE ANSWER : ? YOUR ANSWER : ?
Assigning the empty string (like ' ') to a variable automatically renders it empty. True False TRUE ANSWER : ? YOUR ANSWER : ?
Which statement will output $x on the screen? echo “/$x”; echo “$x;”; echo “$$x”; echo “\$x”; TRUE ANSWER : ? YOUR ANSWER : ?
The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . an empty string NULL 0 gibberish value TRUE ANSWER : ? YOUR ANSWER : ?
Which of following variables can be assigned a value to it?<br/>1. $3hello<br/>2. $_hello<br/>3. $this<br/>4. $This 2 and 4 All of the mentioned 2, 3 and 4 Only 2 TRUE ANSWER : ? YOUR ANSWER : ?
strval() Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code?<br/>function track() {<br/>static $count = 0;<br/>$count++;<br/>echo $count;<br/>}<br/>track();<br/>track();<br/>track(); 111 000 123 011 TRUE ANSWER : ? YOUR ANSWER : ?
With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE TRUE ANSWER : ? YOUR ANSWER : ?
Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add TRUE ANSWER : ? YOUR ANSWER : ?