[ create a new paste ] login | about

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

PHP, pasted on Jun 26:
1
2
3
4
5
6
7
<?php
    $names = array('Joe','Steve','Jen','David');

    for($i=0; $i < count($names); $i++){
        echo $names[$i] . "\n";
    }
?>


Output:
1
2
3
4
Joe
Steve
Jen
David


Create a new paste based on this one


Comments: