# PHP split arrays - need help please

**URL:** <https://forum.kirupa.com/t/php-split-arrays-need-help-please/242788>\
**Category:** programming\
**Created:** [October 30, 2007, 1:00pm UTC](https://forum.kirupa.com/t/php-split-arrays-need-help-please/242788 "2007-10-30T13:00:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![revin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@revin](https://forum.kirupa.com/u/revin)\
**Post date:** [October 30, 2007, 1:00pm UTC](https://forum.kirupa.com/t/php-split-arrays-need-help-please/242788/1 "2007-10-30T13:00:25Z")

</div>

i’m not entirely sure on how this works

is it like flash where you can array.split() ?

so i can turn this:  
0x314D00,0xD4DEFF,0x7E7D00,0x024502,3,22,2,0x425503,0x262602,4

into this?

array1[0]=0x314D00  
array2[1]=0xD4DEFF  
array3[2]=0x7E7D00  
array4[3]=0x024502  
array5[4]=3  
array6[5]=22  
array7[6]=2  
array8[7]=0x425503  
array9[8]=0x262602  
array10[9]=4

sorry if thats really easy

i’m new and i don’t understand the code just yet \>.\<

could somebody lend a hand please?
