jmurch Posted October 16, 2012 Share Posted October 16, 2012 I'm rying to find a PHP function that will split a binary file to an fixed length chunk into an array other than just using the linux 'split' functionality. 'explode' would work but I need a fixed length chunk not using a delimeter. TIA, Jeff Link to comment https://forums.phpfreaks.com/topic/269535-split-binary-file-to-array/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 16, 2012 Share Posted October 16, 2012 array_chunk Link to comment https://forums.phpfreaks.com/topic/269535-split-binary-file-to-array/#findComment-1385538 Share on other sites More sharing options...
ManiacDan Posted October 16, 2012 Share Posted October 16, 2012 The function to split a string into chunks is called chunk_split Link to comment https://forums.phpfreaks.com/topic/269535-split-binary-file-to-array/#findComment-1385539 Share on other sites More sharing options...
jmurch Posted October 16, 2012 Author Share Posted October 16, 2012 Thanks guys......................!!!! Link to comment https://forums.phpfreaks.com/topic/269535-split-binary-file-to-array/#findComment-1385546 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.