I have a question that I can not find the answer.
I create a very large array containing the hexadecimal values ββof the file (for example, $array[0]=B5 $array[1]=82 , etc. up to $array[1230009] )
When I create a function to manipulate some offsets in this array and pass $array as a reference ( function parse(&$array) { ... } ), it takes WAY longer than if I pass an array normaly ( function parse($array) { ... } ) ..
How is this possible?
PS: Is there a faster way not to use an array? Just to use $ string = "B5 82 00 1E..etc", but I need to track the offset as I progress when reading hexadecimal values, as some of these values ββcontain lengths "
pufos source share