split a comma separated string in a pair of 2 using php <p>I have a string having 128 values in the form of :</p> <pre><code>1,4,5,6,0,0,1,0,0,5,6,...1,2,3. </code></pre> <p>I want to pair in the form of :</p> <pre><code>(1,4),(5,6),(7,8) </code></pre> <p>so that I can make a for loop for 64 data using PHP.</p>