Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bucles() {
- $resultado = [];
- for ($i=0; $i < 10 ; $i++) {
- $resultado = [i];
- }
- return $resultado;
- }
- function bucles() {
- $resultado = [];
- for ($i=0; $i < 10 ; $i++) {
- $resultado[] = $i;
- }
- return $resultado;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement