What function do we use to find length of string, and length of array?



What function do we use to find length of string, and length of array?..

Answer / Hariom Narayan

To find the length of a string in PHP, you can use the strlen() function. To find the length of an array, you can use the count() function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What are the basic steps to store PHP session in to Database?

1 Answers   Rediff,


How do you end php?

1 Answers  


Explain what is the difference between session and cookie?

1 Answers  


hi,am a fresher in sap sd,will i try as a fresher or i wl go for with 2 to 3 yr exp,pls suggest me which web site is best for sap freshers.

0 Answers  


How many php functions are there?

1 Answers  


What is the difference between characters 23 and x23?

1 Answers  


How to connect to a url in php?

1 Answers  


What is the difference between html and php?

1 Answers  


What will the ?getdate() function returns in PHP?

1 Answers  


What does session start do in php?

1 Answers  


What is the difference between "echo" and "print" in php?

1 Answers  


How can we register the variables into a Session?

7 Answers   HCL, Star Computers, Trikon Networks,


Categories