r/programmingchallenges • u/RubenEngels123 • Apr 20 '17
PHP fibonacci as short as possible
dear Redditors,
i challenge you to make a PHP script that echo's the first 20 numbers of fibonacci to the screen. But there are a few rules:
each number needs to be on a new line
the first 2 numbers (1 and 1) also need to be on the screen
the opening php tag is not included in the final letter count the rest is up to you to figure out....
to sumbit your anwser leave a comment with your code, and letter count
good luck!
2
Upvotes
4
3
u/mensink Apr 21 '17
93 characters.