Rainrays Profiles
   Pregnancy & Care | Submit Your Free Ads | Tours & Travel India

Home rainrays profile world Contact Us Online Free Marketing Aadhaar Card Online Free Marketing Pregnancy & Care Online Free Marketing Tour n Travel Free Ads with rainrays Festivals  Tourist Attraction India Pincode India  Tourist Attraction India Tourist Attraction India Jobs Recipes Jobs Select Babies Name

Custom Search
More Topics...
  Pregnancy tips and care  Pregnancy tips and care
 YouTube Videos YouTube Videos
  Hospitals & clinics in India Hospitals & clinics in India
  Hospitals & clinics in India World Travel Tips
 Kitchen Dictionary Kitchen Dictionary
 Recipes Recipes
 Personality Personality
 Institute/Colleges Institute/Colleges
 Indian Festivals Indian Festivals
 University University
 Restaurant Restaurant
 Districts List in India Districts List in India
 Districts Profile of India Districts Profile of India
 Hotels Hotels
 Love dating and Romance Love dating and Romance
 Baby name list Baby name list
 Jobs by location Jobs by location
 Jobs by Keyword Jobs by Keyword
 Jobs by Function Jobs by Function
 Jobs Part Time Jobs Part Time
 Shayari Shayari

Best Indian Tours
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 Religious Tours International Tours
 Religious Tours Indian Tours for Overseas

Difference bewteen array_key_exists() and array_keys()

  Topic » Language » PHP » Array
Post By : Rainrays At 0000-00-00 00:00:00

 Bool array_key_exists([$key],[$arr])

$key is required. For check key is exist in array key list
$arr is required. Array have a key list
if (array_key_exists("a",$arr))
 echo "Key exists!";
 echo "Key does not exist!";
O/p: Key exists!
array_keys([$arr],[$val]  return list of key inform of array
$arr is required field
$val optional, if this value is define function will return kay of that particular value
o/p: Array ( [0] => a [1] => b [2] => c )
o/p: Array ( [0] => 2)


Functiion array_fill()

 array filled with the user define value.



$start : is required numeric value $num : is erquired numeric value $value is optional


$arr=array_fill(4,3,"Pankaj"); print_r($arr);


o/p:   Array ( [4] => Pank..


Refer to Friend

  Rainryas information World

Share Info/View About Profile Or Any Comment

Your Name:*  
Other Topic
Devikulam Munnar
Colleges in Rohtak
Hospitals and Clinics in Surat List 1
Integration jobs in India
District Tarn Taran
Create Your Profile in Category » Array
Related Content..
 45  Functiion array_fill()
 52  array_reverse(), array_search(),array_slice()
 43  array_chunk():Array splits into chunks of arrays
 46  Function array_flip()
 42  array()
 48  array_merge(), array_pop(), array_push(), array_rand()
 44  array_count_values():Number of occurrences for each value in array
 53  array_unique(), array_unshift(), array_values(), array_walk()
Special Tours Type India
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 International Tours International Tours
 Tours for Overseas Indian Tours for Overseas
More on rainrays.com
Top Links : Contact us | About us | Privacy & Policy | Terms & Condition | Extract Email | Submit URL to Search Engine
Jobs : Jobs by Location | Part Time Jobs | Jobs by Function | Jobs by Keyword | Jobs Out of india | Jobs Search Engine
Other Links
    Girl baby Names | Boy baby Names | Love dating and Romance | University | Restaurants in India | Hotels in India | Hospitals & clinic | Pregnancy & Care
    Coaching Institute | Educational Institution | School/Colleges by Loaction | Recipes | Std Code | PHP | Products | Links | PHP Interview Question

Copyright © 2010 --- All Rights Reserved