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

BASIC PHP

Basic PHP
Which of the below statements is equivalent to $add += $add ?

$add = $add +$add
$add = $add + $add + 1
$add = $add + 1
$add = $add

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
Which statement will output $x on the screen?

echo “\$x”;
echo “$x;”;
echo “/$x”;
echo “$$x”;

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What will be the output of the following code?
function track() {
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();

000
123
111
011

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What will be the output of the following PHP code?
$a = "clue";
$a .= "get";
echo "$a";

true
clueget
false
get

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What will be the output of the following PHP code?
$a = 5;
$b = 5;
echo ($a === $b);

5 === 5
Error
1
False

ANSWER DOWNLOAD EXAMIANS APP
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 11
  • »

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
↑