Skip to content

[Sync-En] control-structures/for: rewrite the loop-condition example - #1284

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1275-control-structures-for
Open

[Sync-En] control-structures/for: rewrite the loop-condition example#1284
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1275-control-structures-for

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5752 (commit 8c273ad): the array-modification example is replaced by a shorter bad-practice/good-practice pair on calling a function in expr2, followed by the two new notes about count() and about foreach being the recommended way to iterate. EN-Revision updated.

Fixed a few defects in the same file along the way: "bucle" was treated as feminine throughout ("las bucles", "la bucle"), the sentence about an empty expr2 said the opposite of the English, expr1 lost the fact that it is evaluated once, and there were a few spaces before colons.

Fixes: #1275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Rewrite example on for page (#5752)

1 participant