# Monthly Archives: December 2013

Yesterday, a guy came up to me at work and said, “How are you ever going to get a job with all those piercings?”
I’ll say that again. A guy came up to me… at work… and asked, “How are you ever going to get a job with all those piercings?”

When I attended an interview for a job six months after my 70th birthday, I was asked my age.
With nothing to hide, I replied “I’m halfway to my 71st birthday.”
The interviewer looked skeptical, “No offence,” he said, “but you look older than 35.”

• I’ve got great news. You managed to avoid a salary decrease.
• Before you came to my department, you were such a shining star, full of new ideas and enthusiasm. What happened to you?

I was kicked out of a job interview at a clothing store for “not dressing appropriately.” I had purchased my outfit from the same store just two days earlier.

# PHP program to print nth number of Fibonacci Series.

Fibonacci Series: 0 1 1 2 3 5 8 13 21 …

Here are 2 PHP programs to print nth number of Fibonacci Series:

Iterative Program to find nth number of Fibonacci Series:

```<?php

fibonacci(1);
fibonacci(2);
fibonacci(3);
fibonacci(4);
fibonacci(5);

function fibonacci(\$n)
{
\$first_num = 0;
\$second_num = 1;

if(1 == \$n)
{
echo \$first_num;
}
elseif(2 == \$n)
{
echo \$second_num;
}
else
{
\$next_num = 0;
for(\$i=1; \$i<=\$n-2; \$i++)
{
\$next_num = \$first_num + \$second_num;
\$first_num = \$second_num;
\$second_num = \$next_num;
}
echo \$next_num;
}
}

?>
```

Recursive Program to find nth number of Fibonacci Series:

```<?php

echo fibonacci(1);
echo fibonacci(2);
echo fibonacci(3);
echo fibonacci(4);
echo fibonacci(5);

function fibonacci(\$n)
{
if(1 == \$n)
{
\$result = 0;
}
elseif(2 == \$n)
{
\$result = 1;
}
else
{
\$result = fibonacci(\$n-1) + fibonacci(\$n-2);
}
return(\$result);
}

?>
```