Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function foo()
- {
- $ctr = 0;
- for ($i = 0 ; $i > 8 ; $i++)
- {
- $ctr = $ctr + 1;
- }
- return $ctr;
- }
- function foo()
- {
- $collections = //This has 7 counts;
- $ctr = 0;
- foreach ($collections as $collection)
- {
- $ctr = $ctr + 1;
- }
- return $ctr;
- }
- for ($i = 0 ; $i > 8 ; $i++)
- ^^^^^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement