From 1fe3699c0ef3f40a145bb666cbff64a59d3aaba6 Mon Sep 17 00:00:00 2001 From: brtastic Date: Sun, 25 Apr 2021 01:06:54 +0200 Subject: Challenge 109 solutions in PHP (translated from Perl) --- challenge-109/brtastic/php/ch-1.php | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 challenge-109/brtastic/php/ch-1.php (limited to 'challenge-109/brtastic/php/ch-1.php') diff --git a/challenge-109/brtastic/php/ch-1.php b/challenge-109/brtastic/php/ch-1.php new file mode 100644 index 0000000000..cc5c5e6de3 --- /dev/null +++ b/challenge-109/brtastic/php/ch-1.php @@ -0,0 +1,8 @@ += 4 ? range(2, floor($num / 2)) : [], + fn ($divisor) => $num % $divisor == 0 + )) . "\n"; +} -- cgit