• 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
What will be the output of the following PHP code?
$score = 1234;
$scoreboard = (array) $score;
echo $scoreboard[0];

1234
Error
2
1

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
PHP considers the following values as False

constant NULL
the integer 0
All of Above
both A and B
the one-character string 0

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
Which of the below symbols is a newline character?

\n
\r
/r
/n

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
Which of the following is/are a PHP code editor?
1. Notepad
2. Notepad++
3. Adobe Dreamweaver
4. PDT

Only 3
All of the mentioned
1, 2 and 3
Only 4

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON Basic PHP

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
↑