• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP OPERATORS AND EXPRESSIONS QUIZ

What will be the output of the following PHP code ?<br/>$one = "Hello";<br/>$two = "World";<br/>echo $one, $two;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$a = 10;<br/>$b = 10;<br/>if ($a = 5)<br/>$b--;<br/>print $a;<br/>print $b--;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$y = 2;<br/>if ($y-- == ++$y) {<br/>echo $y;<br/>}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$a = 1;<br/>$b = 1;<br/>$d = 1;<br/>print ++$a + ++$a+$a++;<br/>print $a++ + ++$b;<br/>print ++$d + $d++ + $a++;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$i = 0;<br/>$x = $i++;<br/>$y = ++$i;<br/>print $x;<br/>print $y;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>echo "This is India";

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$i = "";<br/>while ($i = 10) {<br/>print "hi";<br/>}<br/>print "hello";

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$one = 1;<br/>print($one);<br/>print $one;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$x = 3.5;<br/>$y = 2;<br/>$z = 2;<br/>echo $x / $y / $z;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code ?<br/>$color1 = red;<br/>$color2 = green;<br/>echo "$color1"."$color2";

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑