How can I do addition repetition in PHP
<p>For example, I have a small function that I want it to keep adding to it its results .</p>

<pre><code>$test1 = 1;
$test2 = 2;
$doitanumbeoftime = 6;

$results = $test1 + $test2;

echo $results; //// which it will print out 3.
</code></pre>

<p>now my question, after the <code>$results</code> was found, I want that results to be added to <code>$test2</code> variable and find that results and add it to <code>$test2</code> one more time and so on till it did it 6 times.</p>

<p>So, I need a function/ loop that can illustrate this results.</p>

<p>so for the first results, it should be 3. 
second results should be  5.
3rd results should be 7
4th results should be 9
5th results should be 11
and the 6th results should be 13.</p>
