<?php function foo() { $myBar = []; foreach (range(0, 10) as $i) { $myBar[] = $i . ' cats'; } return $myBar; } var_dump(foo());
You have javascript disabled. You will not be able to edit any code.