User Tools

Site Tools


en:dev:all:psr:psr-2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:dev:all:psr:psr-2 [26.05.2015 20:07] – [switch, case] translated mrbasemanen:dev:all:psr:psr-2 [26.05.2015 20:12] – [foreach] translated mrbaseman
Line 277: Line 277:
  
 ==== while, do while ==== ==== while, do while ====
-Ein **while**-Statement sieht wie nachfolgend ausBeachten Sie die Plazierung von KlammernLeerstellen und geschweiften Klammern.+**while** statement looks like the followingNote the placement of parenthesesspaces, and braces.
 <PHP> <PHP>
 while ($expr) { while ($expr) {
Line 283: Line 283:
 } }
 </PHP> </PHP>
-ebenso sieht ein **do while**-Statement wie nachfolgend ausBeachten Sie die Plazierung von KlammernLeerstellen und geschweiften Klammern.+Similarly, a **do while** statement looks like the followingNote the placement of parentheses, spacesand braces.
 <PHP> <PHP>
 do { do {
Line 289: Line 289:
 } while ($expr); } while ($expr);
 </PHP> </PHP>
- 
- 
  
 ==== for ==== ==== for ====
-Ein **for**-Statement sieht wie nachfolgend ausBeachten Sie die Plazierung von KlammernLeerstellen und geschweiften Klammern+**for** statement looks like the followingNote the placement of parenthesesspaces, and braces.
 <PHP> <PHP>
 for ($i = 0; $i < 10; $i++) { for ($i = 0; $i < 10; $i++) {
Line 299: Line 297:
 } }
 </PHP> </PHP>
- 
  
 ==== foreach ==== ==== foreach ====
-Ein **foreach**-Statement sieht wie nachfolgend ausBeachten Sie die Plazierung von KlammernLeerstellen und geschweiften Klammern+**foreach** statement looks like the followingNote the placement of parenthesesspaces, and braces.
 <PHP> <PHP>
 foreach ($iterable as $key => $value) { foreach ($iterable as $key => $value) {
en/dev/all/psr/psr-2.txt · Last modified: 31.03.2017 06:59 by Manuela v.d.Decken