• 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

PHP Operators and Expressions
What will be the output of the following PHP code ?
$x = 5;
$y = 10;
$z = "$x + $y";
echo "$z";

15
$x + $y
10 + 5
$z

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$x = 4;
$y = 3;
$z = 1;
echo "$x = $x + $y + $z";

8
4 = 4 + 3 + 1
Error
8 = 4 + 3 +1

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$x = 4;
$y = 3$z = 1;
$z = $z + $x + $y;
echo "$z";

1
$z
8
15

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$x = 3.3;
$y = 2;
echo $x % $y;

2
1
Error
0

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$x = 10;
$y = 4;
$z = 3;
echo $x % $y % $z;

1
2
Error
0

ANSWER DOWNLOAD EXAMIANS APP
  • «
  • 1
  • ...
  • 6
  • 7
  • 8
  • 9
  • 10
  • ...
  • 25
  • »

GO TO PAGE

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
↑