• 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 QUIZ

Which statement will output $x on the screen?

TRUE ANSWER : ?
YOUR ANSWER : ?

PHP runs on different platforms (Windows, Linux, Unix, etc.)

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the limit of a PHP integer value?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following code?<br/>$foo = 'Bob';<br/>$bar = &$foo;<br/>$bar = "My name is $bar";<br/>echo $bar;<br/>echo $foo;

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>$a = 5;<br/>$b = 5;<br/>echo ($a === $b);

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>$team = "arsenal";<br/>switch ($team) {<br/>case "manu":<br/>echo "I love man u";<br/>case "arsenal":<br/>echo "I love arsenal";<br/>case "manc":<br/>echo "I love manc"; <br/>}

TRUE ANSWER : ?
YOUR ANSWER : ?

All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file.

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the below symbols is a newline character?

TRUE ANSWER : ?
YOUR ANSWER : ?

String values must be enclosed in ......

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>$total = "25 students";<br/>$more = 10;<br/>$total = $total + $more;<br/>echo "$total";

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

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
↑