[ create a new paste ] login | about

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

PHP, pasted on Mar 21:
1
2
3
4
5
6
7
<?php
/* ejemplo 1 */

$i = 1;
while ($i <= 10) {
    echo $i++;  /* el valor presentado serĂ­a$i antes del incremento (post-incremento) */
}


Output:
1
12345678910


Create a new paste based on this one


Comments: