what is the diffrence between for and foreach?
Answer Posted / ks.tarun
FOR loop will continue until some condition fails, but in
case of foreach loop will work until all item are processed.
| Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
What is php explain how php works?
List some of the features of php7.
Tell me whether it is possible to share a single instance of a memcache between multiple php projects?
Why does php start with variables?
Where session is stored?
How to stop the execution of php script?
How to repeat a string to a specific number of times in php?
Describe PHP error and logging information?
What is delimiter php?
Tell me what is the use of mysql_real_escape_string() function?
How to replace a substring in a given string in php?
What is prepared statement in php?
What exactly is validating and sanitizing?
What's the difference between __sleep and __wakeup?
What are the different tables(engine) present in mysql, which one is default?