• 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

What will be the output of the following php code?<br/>$num = 1;<br/>$num1 = 2;<br/>print $num . "+". $num1;

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/>$user = array("Ashley", "Bale", "Shrek", "Blank");<br/>for ($x=0; $x < count($user); $x++){<br/>if ($user[$x] == "Shrek")<br/>continue;<br/>printf ($user[$x]);<br/>}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following must be installed on your computer so as to run PHP script?<br/>1. Adobe Dreamweaver<br/>2. PHP<br/>3. Apache<br/>4. IIS

TRUE ANSWER : ?
YOUR ANSWER : ?

PHP considers the following values as False

TRUE ANSWER : ?
YOUR ANSWER : ?

It is possible to create a hierarchy of namespaces in PHP.

TRUE ANSWER : ?
YOUR ANSWER : ?

When a simple data type is casted to an array, an array is created with the original value in the first element.

TRUE ANSWER : ?
YOUR ANSWER : ?

Multiple namespaces cannot be defined in the same file.

TRUE ANSWER : ?
YOUR ANSWER : ?

Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

TRUE ANSWER : ?
YOUR ANSWER : ?

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

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
↑