Content deleted Content added
Line 296:
Fibonacci sequence with limit:
<syntaxhighlight lang="php">
function fibonacci(int $limit):generator
{
yield $a = $b = $i = 1;
|
Line 296:
Fibonacci sequence with limit:
<syntaxhighlight lang="php">
function fibonacci(int $limit):generator
{
yield $a = $b = $i = 1;
|