PHP Classes
elePHPant
Icontem

File: phpcf-src/test/original/increment.php

Recommend this page to a friend!
  Classes of Alex Krash  >  PHP Code formatter  >  phpcf-src/test/original/increment.php  >  Download  
File: phpcf-src/test/original/increment.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Code formatter
Reformat PHP code according to standard options
Author: By
Last change:
Date: 4 years ago
Size: 226 bytes
 

Contents

Class file image Download
<?php
for ($i = 0; $i < 100; $i ++) {
    echo
"$i\n";
}

for (
$i = 100; $i >= 0; $i --) {
    echo
"$i\n";
}

for (
$i = 0; $i < 100; ++ $i) {
    echo
"$i\n";
}

for (
$i = 100; $i >= 0; -- $i) {
    echo
"$i\n";
}

$j-=++ $i;