• 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?
$num = "1";
$num1 = "2";
print $num+$num1;

Error
1+2
12
3

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What will be the output of the following PHP code?
$num = 10;
echo 'What is her age? \n She is $num years old';

What is her age?n She is 10 years old
What is her age? n She is $num years old
What is her age? She is $num years old
What is her age? She is 10 years old

ANSWER DOWNLOAD EXAMIANS APP

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

clueget
get
false
true

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
String values must be enclosed in ......

single quotes
none of above
both A and B
double quotes

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
Which version of PHP introduced Try/catch Exception?

PHP 4
PHP 6
PHP 5
PHP 5.3

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What is the limit of a PHP integer value?

1048576
65536
2147483647
16384

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
↑