• 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
You can test the type of any variable with the ..... function.

gettype()
showtype()
settype()
whattype()

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 $num years old
What is her age? She is $num years old
What is her age? She is 10 years old
What is her age?n 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";

true
false
get
clueget

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
What will be the output of the following php code?
$num = "1";
$num1 = "2";
print $num+$num1;

1+2
Error
12
3

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . .

NULL
an empty string
gibberish value
0

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?

Error
1
12
5

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
↑