Skip to content

Conversation

@Bittarman
Copy link
Contributor

foreach ($image = $imlist->next()) is not valid php syntax.

foreach ($image = $imlist->next()) is not valid php syntax.
jamiehannaford pushed a commit that referenced this pull request Dec 6, 2013
Correct syntax error in example
@jamiehannaford jamiehannaford merged commit d815a7d into rackspace:master Dec 6, 2013
@jamiehannaford
Copy link
Contributor

Thanks. Although this is technically correct, it's not the recommended way of traversing iterators. Please see the Iterators documentation for more information. I'll update this doc to reflect this on the new release.

@Bittarman Bittarman deleted the patch-1 branch December 6, 2013 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants