ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
How can we know the count/number of elements of an array?
 Question Submitted By :: Rajan Vardawaj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we know the count/number of elements of an array?
Answer
# 1
2 ways: 
a) sizeof($array) - This function is an alias of count() 
b) count($urarray) - This function returns the number of
elements in an array. Interestingly if you just pass a
simple var instead of an array, count() will return 1.
 
Is This Answer Correct ?    6 Yes 0 No
Rajan Vardawaj
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
How to get the DNS servers of a domain name? Life-Infotech1
!== represents what?  2
Make a "dynamic drop down list" with using only PHP,HTML and MySQL..  2
How can we create a database using PHP and mysql?  3
Does not want to see PHPSESSID in the url. How can be done this ?  2
what is the dirrence in PHP4 & PHP5 . ?  8
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?  1
what are Implode and Explode functions?  4
WWhat is the functionality of md5 function in PHP?  6
What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?  4
Why these language is needed?  2
How can I retrieve values from one database server and store them in other database server using PHP?  1
Whether site will complete the execution of the script if Fatal error occurs ?  1
What does PHP stand for?  6
what is interface in java.  4
How can we know the count/number of elements of an array?  3
What is the purpose of destructor ?  1
What is the meaning of curl , which is used while connecting with pay pal? and how it works?  2
what is Abbreviavion of PHP?  2
Functions in IMAP, POP3 AND LDAP? Rushmore-Consultancy1
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com