• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP ARRAYS

PHP Arrays
PHP’s numerically indexed array begin with position ______.

0
2
1
-1

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
Which of the following are correct ways of creating an array?
1. state[0] = “karnataka”;
2. $state[] = array(“karnataka”);
3. $state[0] = “karnataka”;
4. $state = array(“karnataka”);

2, 3 and 4
3 and 4
Only 1
2 and 3

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
What will be the output of the following php code?
$states = array("karnataka" => array( "population" => "11,35,000", "captial" => "Bangalore"),"Tamil Nadu" => array( "population" => "17,90,000","captial" => "Chennai") );
echo $states["karnataka"]["population"];

karnataka population
11,35,000
population 11,35,000
karnataka 11,35,000

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
Which function will return true if a variable is an array or false if it is not?

do_array()
this_array()
is_array()
in_array()

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
Which in-built function will add a value to the end of an array?

array_push()
array_unshift()
into_array()
inend_array()

ANSWER DOWNLOAD EXAMIANS APP
  • «
  • 1
  • 2
  • 3
  • ...
  • 11
  • »

GO TO PAGE

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
↑