diff options
Diffstat (limited to 'ratatoeskr/sys/utils.php')
-rw-r--r-- | ratatoeskr/sys/utils.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ratatoeskr/sys/utils.php b/ratatoeskr/sys/utils.php index 7092f4d..21d65f9 100644 --- a/ratatoeskr/sys/utils.php +++ b/ratatoeskr/sys/utils.php @@ -10,26 +10,6 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ -/* - * Function: array_repeat - * - * Parameters: - * - * $val - - * $n - - * - * Returns: - * - * An array with $val $n-times repeated. - */ -function array_repeat($val, $n) -{ - $rv = []; - for ($i = 0; $i < $n; ++$i) { - array_push($rv, $val); - } - return $rv; -} /* * Function: intcmp |