MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers in Technical MCQs
→
Which of the following will be output of the follo..
1.
Which of the following will be output of the following code?
A.
0
B.
1
C.
No Output
D.
Error
Answer» D. Error
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
<pre class="result notranslate"><?phpfunction sample() { &dollar;var1=20; echo &dollar;var1; echo &dollar;GLOBALS['var1']; }&dollar;var1=10;sample();echo &dollar;var1;?></pre>20.what $_SERVER variable do?
<pre class="result notranslate"><?php&dollar;i=10;function sample(&dollar;i){ &dollar;i+=2; GLOBAL &dollar;i; echo &dollar;i+&dollar;i,",";}echo &dollar;i.",";GLOBAL &dollar;i;sample(&dollar;i);echo &dollar;i;?></pre>19.Predict the output of the following code snippet :
<pre class="result notranslate"><?php&dollar;i=10;function sample(&dollar;i){ &dollar;i++; echo &dollar;i.",";}echo &dollar;i.",";GLOBAL &dollar;i;sample(&dollar;i);echo &dollar;i;?></pre>18.Predict the output of the following code snippet :
<pre class="result notranslate"><?phpfunction myTest() { static &dollar;x; echo &dollar;x;}myTest();?> </pre>16.Which of the following is NOT a superglobal variable ?
Which of the following will be output of the following code?
A variable declared _____ has a LOCAL SCOPE?
A variable declared _____ has a GLOBAL SCOPE?
choose the incorrect variable name in php?
Variables are ________ for storing information.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply