Professional Documents
Culture Documents
1) What is the difference between indexed and associative array? Illustrate how
to define and access elements of indexed array and associative array through
examples.
4) What the difference between for and Foreach loop in PHP? Describe through
examples.
8) Write short note for following functions used in PHP with an example:
a. srand
b. ceil
c. mktime
d. sprint