what is the diffrence between for and foreach?
Answer Posted / ajay jain
for() is a simply a loop which is execute to the given
condition but foreach given as array parameter return as
content of array
Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
What is nginx and what is it used for?
How to read one character from a file?
What is php and why it is used?
What is the difference between "echo" and "print" in php?
When should you use a stored procedure?
Which programming language does php resemble?
How to concatenate two strings together in php?
Which database is best for php?
How to convert a character to an ascii value?
How to receive a cookie from the browser?
Where are php configuration settings stored?
What are Routines?
Where can I learn php?
Is it possible to destroy a cookie?
Explain me what is the difference between explode() and split() functions?