Add another item after every 10 in an array
<p>I have an array </p>

<pre><code>$names = array( "Ayush" , "Vaibhav", "Shivam", "Hacker", "Topper",
                "ABCD",  "NameR", "Tammi", "Colgate", "Britney",
                "Bra", "Kisser");
</code></pre>

<p>And I have another variable</p>

<pre><code>$addthis = "ADDTHIS";
</code></pre>

<p>How to make an array from these two so that after every three items in <code>$names</code>, the value of <code>$addthis</code> is added. So, I want this array as result from these two.</p>

<pre><code>$result = array( "Ayush" , "Vaibhav", "Shivam", "ADDTHIS", "Hacker",
                 "Topper", "ABCD", "ADDTHIS",  "NameR", "Tammi",
                 "Colgate", "ADDTHIS", "Britney", "Bra", "Kisser");
</code></pre>

<p>Please provide me with the proper code. Any help will be appreciated.</p>
