[ create a new paste ] login | about

Link: http://codepad.org/m6T5L3WH    [ raw code | output | fork ]

PHP, pasted on Oct 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

$i = 0;
$arr = array('test0','test1','test2');

while ($ft5 = $arr[$i]) {
    echo "$ft5\n";
    $i++;
}

echo "\$ft5: $ft5";

?>


Output:
1
2
3
4
test0
test1
test2
$ft5: 


Create a new paste based on this one


Comments: