php-parser/test/code/prettyPrinter/stmt/foreach.test

28 lines
285 B
Plaintext
Raw Normal View History

2015-10-01 17:32:24 +02:00
foreach
-----
<?php
foreach ($arr as $val) {
}
foreach ($arr as &$val) {
}
foreach ($arr as $key => $val) {
}
foreach ($arr as $key => &$val) {
}
-----
foreach ($arr as $val) {
}
foreach ($arr as &$val) {
}
foreach ($arr as $key => $val) {
}
foreach ($arr as $key => &$val) {
}