[ create a new paste ] login | about

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

PHP, pasted on Nov 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

function sum35() {
    n=9;
    sum = 0;
    for(i=3;i<n;i+=3) {
        echo i;
    }
    
    
 return sum;   
}


echo sum35(10);

?>


Output:
1
2

Parse error: syntax error, unexpected '=' on line 4


Create a new paste based on this one


Comments: